pkgsrc/benchmarks/randread/patches/patch-test.c
obache 583b33d851 Update randread to 0.2.
Based on PR#44354 by Tony Young.
set LICENSE=public-domain, unit-test support by me.

Version 0.2  2002-09-11

    Added unit test framework.
    Read from a list of files, rather than just one, seeking evenly within
	all of them based on the number of blocks in each.
    Allow reading several contiguous blocks for each seek, so we can do
	sequential/random and sequential read testing.
    Print more and clearer information.
    Added disktest shell scripts.
2011-02-03 14:15:12 +00:00

15 lines
424 B
C

$NetBSD: patch-test.c,v 1.1 2011/02/03 14:15:12 obache Exp $
* suite_free is not required by check>=0.9.0, everything will be freed when
srunner_free is called.
--- test.c.orig 2002-07-11 08:23:49.000000000 +0000
+++ test.c
@@ -31,7 +31,6 @@ int main(void)
srunner_run_all (sr, CK_NORMAL);
num_failed = srunner_ntests_failed (sr);
srunner_free (sr);
- suite_free (s);
return num_failed;
}