summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_simple.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests/test_simple.sh')
-rwxr-xr-xsource4/script/tests/test_simple.sh18
1 files changed, 1 insertions, 17 deletions
diff --git a/source4/script/tests/test_simple.sh b/source4/script/tests/test_simple.sh
index 56db719001..a4a672cd5b 100755
--- a/source4/script/tests/test_simple.sh
+++ b/source4/script/tests/test_simple.sh
@@ -1,18 +1,6 @@
#!/bin/sh
# run a quick set of filesystem tests
-if [ $# -lt 3 ]; then
-cat <<EOF
-Usage: test_simple.sh UNC USERNAME PASSWORD <first> <smbtorture args>
-EOF
-exit 1;
-fi
-
-unc="$1"
-username="$2"
-password="$3"
-start="$4"
-shift 4
ADDARGS="$*"
incdir=`dirname $0`
@@ -21,10 +9,6 @@ incdir=`dirname $0`
tests="BASE-RW1"
for t in $tests; do
- if [ ! -z "$start" -a "$start" != $t ]; then
- continue;
- fi
- start=""
name="$t"
- plantest "$name" smb $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t
+ plantest "$name" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/simple -U"\$USERNAME"%"\$PASSWORD" $t
done