arch3y
91ca149479
added _DEFAULT_SOURCE to fix compilation warnings on gcc 5
2016-05-03 21:47:34 -04:00
Sam Hocevar
c49f4f17bf
Disable the mmap regression test on OS X.
2015-08-16 23:02:31 +02:00
Sam Hocevar
1c7ffee4a2
misc: fix a few minor issues found by static code analysis.
2015-05-30 16:42:25 +02:00
Sam Hocevar
cc2cb7e305
build: remove spurious binary file.
2015-01-29 03:12:36 +01:00
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
2c9718bd04
test: add a regression test for a bug in our mmap function.
2015-01-19 10:25:20 +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
4f7a76385a
test: add a regression test for a bug in our mmap function.
2015-01-16 10:04:06 +01:00
Sam Hocevar
08d023b37c
test: several fixes in the testsuite.
2015-01-05 18:11:43 +01:00
Sam Hocevar
55f403c4af
Improve the DLL injection code. Now seems to work rather
...
well under Windows. But it needs a lot of polishing.
2010-09-20 01:16:36 +00:00
Sam Hocevar
ed209b9b90
Make check-zzuf-r-ratio slightly more tolerant.
2010-04-19 20:52:05 +00: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
f3a6225995
Split check-build into check-source and check-win32.
2010-02-09 02:15:06 +00:00
Sam Hocevar
70b8eacf6f
Minor testsuite behaviour updates.
2010-01-31 12:18:01 +00:00
Sam Hocevar
00b4da4774
Fix testsuite behaviour on OpenSolaris /bin/sh.
2010-01-21 01:17:09 +00:00
Sam Hocevar
f728c13edf
Fix a bug in the -s test script that failed to detect failures.
2010-01-19 12:44:15 +00:00
Sam Hocevar
254eeacc6d
Add a check-zzuf-s-seed that tests whether all bits in a sequence have a
...
chance of being toggled.
2010-01-18 02:02:12 +00:00
Sam Hocevar
ac372df746
Rename check-flag-# tests to check-zzuf-#-#### with the option's long name,
...
to avoid problems with case-insensitive filesystems.
2010-01-15 17:03:39 +00:00
Sam Hocevar
cfbc0415be
Avoid leading zeroes in the unit tests' initial random seed.
2010-01-14 00:26:52 +00:00
Sam Hocevar
eaf40002d5
Rename check-memory to check-flag-M and check-rng to check-flag-r.
2010-01-14 00:26:46 +00:00
Sam Hocevar
311692ae3c
Add a check-flag-f test.
2010-01-14 00:26:35 +00:00
Sam Hocevar
0a82c5a740
Add a check-flag-A test and rename check-md5 to check-flag-m.
2010-01-14 00:26:21 +00:00
Sam Hocevar
7e045d886e
Fix check-build on platforms without sh's pushd/popd or grep's \<\>.
2010-01-12 23:54:49 +00:00
Sam Hocevar
a3161049df
Fix copyright information and remove Id tag everywhere.
2010-01-12 23:54:02 +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
727b36b889
Move zzcat to the main src/ directory. It's becoming mature enough to be
...
distributed.
2010-01-12 23:53:09 +00:00
Sam Hocevar
ecfba2614e
Distribute zzcat and start writing documentation for it.
2010-01-08 01:28:02 +00:00
Sam Hocevar
75c6d6f71e
Fix compilation warnings on FreeBSD.
2010-01-08 01:17:23 +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
cae540ebf6
Add a workaround in the test suite for a cowdancer limitation causing .ilist
...
corruption and use ulimit instead of limit.
2009-12-14 02:55:25 +00:00
Sam Hocevar
4c195f17a1
Limit coredumpsize to 0 in test scripts to avoid dumping cores at build time.
2009-12-14 02:55:20 +00:00
Sam Hocevar
21d6697bf0
Give the fuzzed Win32 program a chance to display something even
...
if the diverted function itself causes a crash.
2009-12-07 18:35:45 +00:00
Sam Hocevar
f8c30fa9c0
Cleaner solution for echoing the SOURCES variable.
2009-11-26 01:19:08 +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
2e6ce6d101
Refactor zzcat for clarity.
2009-11-22 18:54:31 +00:00
Sam Hocevar
f324673387
Check for typical source code issues in the testsuite.
2009-11-22 18:54:25 +00:00
Sam Hocevar
e6604121cb
Add a getc_unlocked method to zzcat.
2009-11-22 18:54:17 +00:00
Sam Hocevar
48d91662df
Various compilation and unit test fixes.
2009-11-20 17:38:00 +00:00
Sam Hocevar
5887dac5b1
Make check-build executable.
2009-11-20 13:00:28 +00:00