diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-04-10 20:19:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:55 -0500 |
commit | e338b4b47b6271ca46060a1fe8c61ab8afaecc8f (patch) | |
tree | 315e3b28abd60f04f5d5a7cc871e6d246ef931f2 /source4/script/tests/test_posix.sh | |
parent | 4cc500433d07decf8fc2551b117e15537f6c8558 (diff) | |
download | samba-e338b4b47b6271ca46060a1fe8c61ab8afaecc8f.tar.gz samba-e338b4b47b6271ca46060a1fe8c61ab8afaecc8f.tar.bz2 samba-e338b4b47b6271ca46060a1fe8c61ab8afaecc8f.zip |
r22156: - Lazy evaluate variable names.
- Don't set up environments until necessary
- Add --resetup-environment option
- Add 'none' environment
(This used to be commit ed0410309bfdefb0d31cb247c26b947956fb1137)
Diffstat (limited to 'source4/script/tests/test_posix.sh')
-rwxr-xr-x | source4/script/tests/test_posix.sh | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/source4/script/tests/test_posix.sh b/source4/script/tests/test_posix.sh index 8faaac1a88..88040def88 100755 --- a/source4/script/tests/test_posix.sh +++ b/source4/script/tests/test_posix.sh @@ -3,18 +3,6 @@ # this runs the file serving tests that are expected to pass with the # current posix ntvfs backend -if [ $# -lt 3 ]; then -cat <<EOF -Usage: test_posix.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` @@ -30,5 +18,5 @@ for t in $tests; do continue; fi start="" - plantest "$t" smb $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t + plantest "$t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $t done |