source: vendor/current/source3/script/tests/test_smbtorture_s3.sh@ 740

Last change on this file since 740 was 740, checked in by Silvan Scherrer, 12 years ago

Samba Server: update vendor to 3.6.0

File size: 572 bytes
Line 
1#!/bin/sh
2
3# this runs the file serving tests that are expected to pass with samba3
4
5if [ $# -lt 4 ]; then
6cat <<EOF
7Usage: test_smbtorture_s3.sh TEST UNC USERNAME PASSWORD <smbtorture args>
8EOF
9exit 1;
10fi
11
12t="$1"
13unc="$2"
14username="$3"
15password="$4"
16shift 4
17ADDARGS="$*"
18
19test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
20incdir=`dirname $0`/../../../testprogs/blackbox
21. $incdir/subunit.sh
22}
23
24
25
26failed=0
27testit "smbtorture" $VALGRIND $BINDIR/smbtorture $unc -U"$username"%"$password" $ADDARGS $t || failed=`expr $failed + 1`
28
29testok $0 $failed
Note: See TracBrowser for help on using the repository browser.