Sam Hocevar
|
0f775dadc8
|
Add zznop, a small test program to help debug the Win32 port.
Also add check-build from libcaca to test that msvc/config.h is
up to date.
|
2009-11-20 12:06:17 +00:00 |
|
Sam Hocevar
|
62b812b7db
|
Compilation fix for systems without get_unlocked().
|
2009-10-27 23:10:22 +00:00 |
|
Sam Hocevar
|
0bf7cb7815
|
Add a getc_unlocked() variant to zzcat.
|
2009-10-27 23:08:16 +00:00 |
|
Sam Hocevar
|
bdc2b59edd
|
Add a getline() variant to zzcat.
|
2009-10-27 22:44:09 +00:00 |
|
Sam Hocevar
|
f7d563f9ce
|
* test/Makefile.am: add functions.inc to the distribution.
|
2008-07-20 11:20:47 +00:00 |
|
Sam Hocevar
|
523675e3d9
|
* bug-div0.c: raise SIGFPE manually since Darwin won't trap on 1/0.
|
2008-07-20 10:19:06 +00:00 |
|
Sam Hocevar
|
7778db7386
|
* Factored the test suite to avoid excessive code duplication.
|
2008-07-20 09:57:58 +00:00 |
|
Sam Hocevar
|
1c4697013f
|
* check-utils: only perform 3 util test series, the rest was only here to
validate the RNG and we now have another test for that.
|
2008-07-18 09:28:22 +00:00 |
|
Sam Hocevar
|
8bbe4b289d
|
* Make the RNG test shorter... it should not vary across platforms anyway.
|
2008-07-18 09:28:10 +00:00 |
|
Sam Hocevar
|
9810cc153f
|
* Add slightly more complex modes to zzcat.
|
2008-07-18 09:28:06 +00:00 |
|
Sam Hocevar
|
7dfb40b935
|
* Add simpler modes to zzcat to better analyse what's going on.
|
2008-07-18 09:27:56 +00:00 |
|
Sam Hocevar
|
0a902ca687
|
* bug-memory.c: fix the SIGSEGV unit test.
|
2008-07-16 23:24:06 +00:00 |
|
Sam Hocevar
|
3c423c91de
|
* zzcat.c: partial fread() reads are undefined; avoid them in zzcat.
|
2008-07-16 23:17:07 +00:00 |
|
Sam Hocevar
|
66717397fa
|
* check-utils: use tail -n X or tail -X depending on the platform.
|
2008-07-16 21:03:37 +00:00 |
|
Sam Hocevar
|
22cd9da8fe
|
* bootstrap: update bootstrapping script for OpenSolaris compatibility.
* check-utils: do not use grep -q, OpenSolaris doesn't know about it.
|
2008-07-16 20:53:14 +00:00 |
|
Sam Hocevar
|
48e7b55dfe
|
* Oops, forgot to check in check-md5.
|
2008-07-16 20:36:58 +00:00 |
|
Sam Hocevar
|
4a1b32c6fd
|
* Add a unit test for MD5 hashes.
|
2008-07-16 20:36:14 +00:00 |
|
Sam Hocevar
|
63b3a8e8a0
|
* Add a bunch of unit tests to check for zzuf basic capabilities: SIGSEGV
and SIGFPE detection, memory exhaustion detection.
|
2008-07-16 17:23:37 +00:00 |
|
Sam Hocevar
|
b4541f895b
|
* Split the test suite into the RNG test and the Unix utils test.
|
2008-07-16 17:23:24 +00:00 |
|
Sam Hocevar
|
d5734170b3
|
* zzcat.c: compilation fix for missing headers.
|
2008-07-16 09:51:58 +00:00 |
|
Sam Hocevar
|
612d830111
|
* testsuite.h: do not test for grep -a if the option is unknown.
|
2008-07-16 09:51:53 +00:00 |
|
Sam Hocevar
|
abeb8d87e0
|
* Add a few _INCLUDE_POSIX_SOURCE defines here and there so that we build
out of the box with HP-UX's c99 compiler.
|
2008-07-15 21:34:14 +00:00 |
|
Sam Hocevar
|
08d6923f3a
|
* testsuite.sh: use printf instead of echo -n for better portability.
|
2008-07-15 20:16:15 +00:00 |
|
Sam Hocevar
|
0da8b1c33a
|
* Run the testsuite when "make check" is called.
|
2008-06-20 06:05:25 +00:00 |
|
Sam Hocevar
|
500fcb0bf1
|
* Don't use `--' in the testsuite, it is no longer understood.
|
2008-05-18 12:38:37 +00:00 |
|
Sam Hocevar
|
383ed9cb09
|
* Add statistical analysis to the testsuite to check our random number
generator.
|
2008-05-16 22:01:11 +00:00 |
|
Sam Hocevar
|
4b142f02b9
|
* Check mmap() return value.
* Don't pass offsets to mmap() that are not page aligned.
|
2007-02-19 10:25:54 +00:00 |
|
Sam Hocevar
|
ecb3a9efa1
|
* Oops, fix compilation warning.
|
2007-02-19 09:28:52 +00:00 |
|
Sam Hocevar
|
68a2cee2df
|
* Added mmap() to the testsuite.
|
2007-02-19 09:16:10 +00:00 |
|
Sam Hocevar
|
4ee57fba0a
|
* Check for <unistd.h>, too. MSVC doesn't have it.
|
2007-02-01 16:08:33 +00:00 |
|
Sam Hocevar
|
7426def162
|
* Merged fdcat and streamcat into zzcat.
|
2007-01-28 00:53:19 +00:00 |
|
Sam Hocevar
|
2ebb906a12
|
* Updated testsuite to use our own files instead of /dev/*.
|
2007-01-27 21:40:31 +00:00 |
|
Sam Hocevar
|
714f88e8f7
|
* Allow -r 0.0 again. Fixed the testsuite accordingly.
|
2007-01-17 14:35:12 +00:00 |
|
Sam Hocevar
|
6e1f3612f8
|
* Changed -M to -m (for --md5).
|
2007-01-10 15:22:09 +00:00 |
|
Sam Hocevar
|
c21e2b7846
|
* Fixed testsuite for anal shells.
|
2007-01-08 21:51:06 +00:00 |
|
Sam Hocevar
|
de16b710db
|
* Test suite now uses the new MD5 feature.
|
2007-01-08 18:15:49 +00:00 |
|
Sam Hocevar
|
b2a1908029
|
* Documented stdin behaviour.
|
2007-01-07 18:45:00 +00:00 |
|
Sam Hocevar
|
1fdcd5182f
|
* Don't call cat or dd in the testsuite if they're statically linked.
|
2007-01-07 17:12:53 +00:00 |
|
Sam Hocevar
|
44637ccbed
|
* Made the testsuite shorter.
|
2007-01-07 14:13:29 +00:00 |
|
Sam Hocevar
|
5d48434914
|
* Don’t run the testsuite if /bin/cat is statically linked.
|
2007-01-07 12:06:07 +00:00 |
|
Sam Hocevar
|
f109b99b53
|
* Always define getc(), but undefine the getc macro beforehands just in case.
* Implemented _IO_getc().
|
2007-01-07 10:34:45 +00:00 |
|
Sam Hocevar
|
c2d12ddd92
|
* BSD's md5 does not have a --help option. Trying /dev/null instead.
|
2007-01-06 21:54:02 +00:00 |
|
Sam Hocevar
|
5b90ba4ec2
|
* Got testsuite to work on FreeBSD.
|
2007-01-06 21:25:56 +00:00 |
|
Sam Hocevar
|
1913d08ca0
|
* Fixed the head call in the testsuite so that it works on OS X.
|
2007-01-06 20:24:54 +00:00 |
|
Sam Hocevar
|
e5b145ce34
|
* Added head and tail to the testsuite.
|
2007-01-06 20:20:15 +00:00 |
|
Sam Hocevar
|
2029e77e18
|
* Fix fread() issue with standard input reading.
|
2007-01-06 15:54:14 +00:00 |
|
Sam Hocevar
|
a58daf09d7
|
* Put back grep and sed into the testsuite, now that we can protect newlines
from being fuzzed away.
|
2007-01-05 11:01:49 +00:00 |
|
Sam Hocevar
|
de9a7ef44d
|
* Use "strings </dev/urandom", not "strings /dev/urandom".
|
2007-01-03 21:53:03 +00:00 |
|
Sam Hocevar
|
a69b8cc7ed
|
* Added a stupid PRNG to streamcat and fdcat.
* Do not use sed in the testsuite, because of OS X.
|
2007-01-03 21:51:11 +00:00 |
|
Sam Hocevar
|
77f97d7c4d
|
* Make the testsuite reproductible.
|
2007-01-03 17:58:11 +00:00 |
|