Rename check-memory to check-flag-M and check-rng to check-flag-r.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user