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 |
|
---|
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;
|
---|
10 | fi
|
---|
11 |
|
---|
12 | t="$1"
|
---|
13 | unc="$2"
|
---|
14 | username="$3"
|
---|
15 | password="$4"
|
---|
16 | shift 4
|
---|
17 | ADDARGS="$*"
|
---|
18 |
|
---|
19 | test x"$TEST_FUNCTIONS_SH" != x"INCLUDED" && {
|
---|
20 | incdir=`dirname $0`/../../../testprogs/blackbox
|
---|
21 | . $incdir/subunit.sh
|
---|
22 | }
|
---|
23 |
|
---|
24 |
|
---|
25 |
|
---|
26 | failed=0
|
---|
27 | testit "smbtorture" $VALGRIND $BINDIR/smbtorture $unc -U"$username"%"$password" $ADDARGS $t || failed=`expr $failed + 1`
|
---|
28 |
|
---|
29 | testok $0 $failed
|
---|
Note:
See
TracBrowser
for help on using the repository browser.