From eaf40002d5109f85ca53078ec2caf1f494fdc3ea Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 14 Jan 2010 00:26:46 +0000 Subject: [PATCH] Rename check-memory to check-flag-M and check-rng to check-flag-r. --- test/Makefile.am | 4 ++-- test/{check-memory => check-flag-M} | 4 ++-- test/{check-rng => check-flag-r} | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename test/{check-memory => check-flag-M} (91%) rename test/{check-rng => check-flag-r} (96%) diff --git a/test/Makefile.am b/test/Makefile.am index ae4ae1a..088c052 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -3,8 +3,8 @@ EXTRA_DIST = $(TESTS) functions.inc file-00 file-ff file-random file-text noinst_PROGRAMS = zzero zznop bug-overflow bug-memory bug-div0 -TESTS = check-build check-flag-A check-flag-f check-flag-m \ - check-overflow check-memory check-div0 check-rng check-utils +TESTS = check-build check-flag-A check-flag-f check-flag-m check-flag-M \ + check-flag-r check-overflow check-div0 check-utils echo-sources: ; echo $(SOURCES) diff --git a/test/check-memory b/test/check-flag-M similarity index 91% rename from test/check-memory rename to test/check-flag-M index c8272d1..dba6193 100755 --- a/test/check-memory +++ b/test/check-flag-M @@ -1,6 +1,6 @@ #!/bin/sh # -# check-memory - check that zzuf catches excessive memory allocations +# check-flag-M - check that zzuf catches excessive memory allocations # Copyright (c) 2008-2010 Sam Hocevar # All Rights Reserved # @@ -21,7 +21,7 @@ if [ ! -f "$PROGRAM" ]; then exit 1 fi -start_test "zzuf memory exhaustion test" +start_test "zzuf -M test" new_test "bug-memory < /file-00" if ! $PROGRAM < "$DIR/file-00"; then diff --git a/test/check-rng b/test/check-flag-r similarity index 96% rename from test/check-rng rename to test/check-flag-r index bad65cf..e95b997 100755 --- a/test/check-rng +++ b/test/check-flag-r @@ -1,6 +1,6 @@ #!/bin/sh # -# check-rng - zzuf RNG statistic tests +# check-flag-r - zzuf RNG statistic tests # Copyright (c) 2008-2010 Sam Hocevar # All Rights Reserved # @@ -44,7 +44,7 @@ checkflip() fi } -start_test "zzuf RNG test suite" +start_test "zzuf -r test" # if X flips are performed on N bits set to 0, the average number of bits # set to 1 is: N / 2 * (1 - pow(1 - 2 / N, X)