Fix bug #8458] - IE9 on Windows 7 cannot download files to samba 3.5.11 share
[Samba.git] / source3 / script / tests / test_smbtorture_s3.sh
blobca64fa283ddd9e1bc6d120ab23e21a1b4498e520
1 #!/bin/sh
3 # this runs the file serving tests that are expected to pass with samba3
5 if [ $# -lt 4 ]; then
6 cat <<EOF
7 Usage: test_smbtorture_s3.sh TEST UNC USERNAME PASSWORD <smbtorture args>
8 EOF
9 exit 1;
12 t="$1"
13 unc="$2"
14 username="$3"
15 password="$4"
16 shift 4
17 ADDARGS="$*"
19 test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
20 incdir=`dirname $0`/../../../testprogs/blackbox
21 . $incdir/subunit.sh
26 failed=0
27 testit "smbtorture" $VALGRIND $BINDIR/smbtorture $unc -U"$username"%"$password" $ADDARGS $t || failed=`expr $failed + 1`
29 testok $0 $failed