Rename check-memory to check-flag-M and check-rng to check-flag-r.

This commit is contained in:
Sam Hocevar
2010-01-14 00:26:46 +00:00
committed by sam
parent 311692ae3c
commit eaf40002d5
3 changed files with 6 additions and 6 deletions

View File

@@ -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)

View File

@@ -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 <sam@hocevar.net>
# 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

View File

@@ -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 <sam@hocevar.net>
# 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)