diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-03-21 16:26:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:38 -0500 |
commit | 86d77746dbaa3570fb6e23538b52ba3bb19f0b07 (patch) | |
tree | 1cacce91b0b559195ab53e61d578e31ccc522267 /source4/script/tests/test_functions.sh | |
parent | 2fca3f9082a70e1f153f6c9f195d95b0d48e363d (diff) | |
download | samba-86d77746dbaa3570fb6e23538b52ba3bb19f0b07.tar.gz samba-86d77746dbaa3570fb6e23538b52ba3bb19f0b07.tar.bz2 samba-86d77746dbaa3570fb6e23538b52ba3bb19f0b07.zip |
r21910: Clean up some unused functions.
(This used to be commit 36cd3406db06e3101cfede2f3935879cb11eeb93)
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-rwxr-xr-x | source4/script/tests/test_functions.sh | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh index 801d6dc05b..6a7f8aba98 100755 --- a/source4/script/tests/test_functions.sh +++ b/source4/script/tests/test_functions.sh @@ -1,6 +1,6 @@ #!/bin/sh -testit() { +plantest() { name=$1 env=$2 shift 2 @@ -10,39 +10,3 @@ testit() { echo $env echo $cmdline } - -testok() { - name=`basename $1` - failed=$2 - - if [ x"$failed" = x"0" ];then - : - else - echo "$failed TESTS FAILED or SKIPPED ($name)"; - fi - exit $failed -} - -teststatus() { - name=`basename $1` - failed=$2 - - echo "TEST STATUS: $failed failures"; - test x"$failed" = x"0" || { -cat <<EOF -************************ -*** TESTSUITE FAILED *** -************************ -EOF - } - exit $failed -} - -if [ -z "$VALGRIND" ]; then - MALLOC_CHECK_=2 - export MALLOC_CHECK_ -fi - -# initialise the local failed variable to zero when starting each of the tests -failed=0 - |