summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-04-19 15:18:49 +1000
committerMartin Schwenke <martin@meltin.net>2012-04-27 15:40:43 +1000
commitd9b210b079983ca61209307f51fbb543073ad5b0 (patch)
tree431b4968b3a08082556af9cfe492ecf67099153b
parent72ab31b024072cf73a587e9c0b4501c6f040de14 (diff)
downloadsamba-d9b210b079983ca61209307f51fbb543073ad5b0.tar.gz
samba-d9b210b079983ca61209307f51fbb543073ad5b0.tar.xz
samba-d9b210b079983ca61209307f51fbb543073ad5b0.zip
tests: Fix wrapper scripts
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit eef162ceaac6853bf1ff622691901289280bc25f)
-rwxr-xr-xctdb/tests/run_cluster_tests.sh3
-rwxr-xr-xctdb/tests/run_tests.sh2
2 files changed, 1 insertions, 4 deletions
diff --git a/ctdb/tests/run_cluster_tests.sh b/ctdb/tests/run_cluster_tests.sh
index 6917fd9315..e6ee8d1f80 100755
--- a/ctdb/tests/run_cluster_tests.sh
+++ b/ctdb/tests/run_cluster_tests.sh
@@ -1,8 +1,5 @@
#!/bin/sh
-CTDB_TEST_REAL_CLUSTER=1
-export CTDB_TEST_REAL_CLUSTER
-
if [ -n "$*" ]; then
tests/scripts/run_tests -s $* || exit 1
else
diff --git a/ctdb/tests/run_tests.sh b/ctdb/tests/run_tests.sh
index 6a46248c08..56f020575f 100755
--- a/ctdb/tests/run_tests.sh
+++ b/ctdb/tests/run_tests.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-tests/scripts/run_tests -s ${*:-tests/simple/*.sh} || exit 1
+tests/scripts/run_tests -l -s ${*:-tests/simple/*.sh} || exit 1
echo "All OK"
exit 0