summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-rwxr-xr-xsource4/script/tests/test_functions.sh38
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
-