Commit graph

27 commits

Author SHA1 Message Date
Martin Grabmüller
96e30d2ab2 * tests/alist.test, tests/bit-operations.test,
tests/common-list.test, tests/environments.test, tests/eval.test,
	tests/gc.test, tests/hooks.test, tests/import.test,
	tests/interp.test, tests/list.test, tests/load.test,
	tests/numbers.test, tests/ports.test, tests/r4rs.test,
	tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
	copyright notice.
2001-07-19 20:30:37 +00:00
Marius Vollmer
9a8be5a707 * tests/ports.test: New test for output port line counts. 2001-06-16 20:13:50 +00:00
Gary Houston
c685b42fa3 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
have run.

	* tests/ports.test (test-file), tests/load.test (temp-dir):
	redefined using data-file-name instead of tmpnam.  the test files
	will be created in the build directory instead of /var/tmp or
	whereever tmpnam puts them.
2001-04-25 23:13:52 +00:00
Dirk Herrmann
6b4113afc5 * Provide and use new convenience macros to test for exceptions. 2001-02-28 11:25:40 +00:00
Gary Houston
22d356150d * tests/ports.test: include (ice-9 rdelim) module. 2001-01-24 21:46:04 +00:00
Dirk Herrmann
57e7f27001 Adopted a couple of nice ideas from Greg. 2000-05-08 17:42:03 +00:00
Gary Houston
8cc58ec1cc * tests/ports.test (non-blocking-I/O): a couple more details:
a) combine the O_NONBLOCK flag with the default flags instead
	of replacing them.  b) check EWOULDBLOCK as well as EAGAIN.
2000-03-31 19:23:52 +00:00
Gary Houston
2d9e5bca6c * tests/ports.test ("string ports"): test seeking/unreading from
an input string and seeking an output string.
1999-10-24 15:17:47 +00:00
Gary Houston
22a92623c6 * tests/ports.test: in seek/tell test on input port, also test
that ftell doesn't discard unread chars.
1999-10-20 20:59:07 +00:00
Gary Houston
4fcd6551ff * tests/ports.test: add seek/tell tests for unidirectional ports. 1999-10-18 20:47:37 +00:00
Jim Blandy
fe5b6bebaa * tests/ports.test: Check that our input functions cope when
current-input-port is closed.
1999-09-20 23:57:08 +00:00
Gary Houston
1ba57e8915 3 more bytes. 1999-09-14 20:56:13 +00:00
Gary Houston
6e822cce6a 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test: test non-blocking I/O.
1999-09-14 20:48:00 +00:00
Jim Blandy
7ef450bfce Fix copyright info. 1999-09-03 07:36:49 +00:00
Gary Houston
d1b143e9a3 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: test unread-char and unread-string.
1999-08-29 17:48:26 +00:00
Gary Houston
0eb2e8cd94 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: test line-buffering of fports.
1999-08-19 21:29:00 +00:00
Gary Houston
7f214e6066 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: tests for NUL and non-ASCII chars to fports.
1999-08-18 20:33:18 +00:00
Gary Houston
75efe4535b 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: lseek -> seek.
1999-08-12 19:07:19 +00:00
Gary Houston
7c03500990 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: tests for buffered and unbuffered input/output
	fports with seeking.
1999-08-04 19:00:34 +00:00
Jim Blandy
1b0549522b * tests/ports.test: Add some regression tests for char-ready?. 1999-08-01 08:06:01 +00:00
Jim Blandy
6d8500ad76 * tests/ports.test: Fix copyright years. 1999-07-19 18:44:32 +00:00
Jim Blandy
5bc1201f2d * tests/ports.test ("read-delimited!"): New tests. 1999-07-19 08:10:30 +00:00
Jim Blandy
73cb0a9704 * tests/ports.test: Group the string port tests under a new
test name prefix.
* tests/ports.test ("line counter"): Check the final column, too.
1999-06-15 08:39:11 +00:00
Jim Blandy
0b8faa0eb6 * tests/ports.test ("line counter"): Verify that we do eventually
get EOF on the port --- don't just read forever.
1999-06-09 09:42:15 +00:00
Jim Blandy
f5d4dde361 Gary Houston's patches turn popen into a module, which we need to
import.
("pipe: read", "pipe: write"): Use close-pipe, not close-port, so
Guile will wait for the command to terminate.
1999-05-31 21:30:06 +00:00
Jim Blandy
0d572e912b Mark file as Scheme code.
Use catch-test-errors to isolate independent tests, so we can still
get some results even though Gary Houston's patches don't support
pipes yet.
1999-05-30 09:23:37 +00:00
Jim Blandy
000ee07fc6 Initial checkin of the Guile test suite. 1999-05-29 14:22:24 +00:00