s3: Remove a call to procid_self()
[Samba/gebeck_regimport.git] / source3 / script / tests / test_smbtorture_s3.sh
blob07d940faa11bede49368bf8c37568344dbfca545
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 <smbtorture args>
8 EOF
9 exit 1;
12 t="$1"
13 unc="$2"
14 username="$3"
15 password="$4"
16 SMBTORTURE="$5"
17 shift 5
18 ADDARGS="$*"
20 incdir=`dirname $0`/../../../testprogs/blackbox
21 . $incdir/subunit.sh
25 failed=0
26 testit "smbtorture" $VALGRIND $SMBTORTURE $unc -U"$username"%"$password" $ADDARGS $t || failed=`expr $failed + 1`
28 testok $0 $failed