29 Commits

Author SHA1 Message Date
Sam Hocevar
6ccb82a9ff stream: fix a nasty bug that completely messed up with the streambuf
structure tracking. Now when the new streambuf position is exactly at
the end of the previous streambuf, we only fuzz the streambuf if new
data is available (i.e. when streambuf_count != 0); otherwise, it just
means that we’re at the end of the file, waiting for new read orders.
2015-01-20 11:20:23 +01:00
Sam Hocevar
60e1d2f001 test: use the -d flag in unit tests so that we can find potential
errors in the debug() function calls.
2015-01-19 23:10:14 +01:00
Sam Hocevar
f9f1d70889 test: add a new regression test for a bug at stream EOF. 2015-01-18 18:25:18 +01:00
Sam Hocevar
08d023b37c test: several fixes in the testsuite. 2015-01-05 18:11:43 +01:00
Sam Hocevar
d61e61796b Add a regression test for our Gentoo __fread_chk() bug. 2010-02-27 19:38:54 +00:00
Sam Hocevar
abae6a4d0b Fix old typos in check-utils. 2010-02-27 19:38:49 +00:00
Sam Hocevar
4c6ce1350e Rename zzcat to zzat to avoid conflicts with zziplib. 2010-02-15 21:25:30 +00:00
Sam Hocevar
00b4da4774 Fix testsuite behaviour on OpenSolaris /bin/sh. 2010-01-21 01:17:09 +00:00
Sam Hocevar
550abdd84b Reduce the number of hardcoded figures in check-utils. 2010-01-12 23:53:56 +00:00
Sam Hocevar
47e539f59d In the unit test phase, only launch sequences with functions we support. 2010-01-12 23:53:24 +00:00
Sam Hocevar
638dc792a8 Improve zzcat documentation and add commandline flags, including --help
and --version.
2010-01-12 23:53:18 +00:00
Sam Hocevar
23f4274f85 Implement feof(x) in zzcat, to break out of a loop after EOF was hit x times. 2010-01-08 00:48:33 +00:00
Sam Hocevar
45764eb21f Add a special section in the testsuite for regressions. 2010-01-06 02:00:49 +00:00
Sam Hocevar
b93cc3838d Make the check-utils output slightly clearer. 2009-12-14 16:10:15 +00:00
Sam Hocevar
cbe0249118 Rewrite zzcat to make it a lot more configurable. 2009-12-14 02:55:31 +00:00
Sam Hocevar
9e89a7fde7 More zzcat stuff. 2009-11-25 00:42:17 +00:00
Sam Hocevar
008cbf6065 More zzcat additions. 2009-11-24 01:25:37 +00:00
Sam Hocevar
f36a3e475c Minor refactoring in zzcat. 2009-11-23 00:26:59 +00:00
Sam Hocevar
6b8b80e24d Improve the zzcat test suite with more unlocked IO functions. 2009-11-22 18:54:49 +00:00
Sam Hocevar
e6604121cb Add a getc_unlocked method to zzcat. 2009-11-22 18:54:17 +00:00
Sam Hocevar
bdc2b59edd Add a getline() variant to zzcat. 2009-10-27 22:44:09 +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
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
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
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