source: branches/samba-3.5.x/source4/selftest/test_w2k3_file.sh

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 1.3 KB
Line 
1#!/bin/sh
2
3# this runs the file serving tests that are expected to pass with win2003
4
5if [ $# -lt 3 ]; then
6cat <<EOF
7Usage: test_w2k3_file.sh UNC USERNAME PASSWORD <first> <smbtorture args>
8EOF
9exit 1;
10fi
11
12unc="$1"
13username="$2"
14password="$3"
15start="$4"
16shift 4
17ADDARGS="$*"
18
19incdir=`dirname $0`
20. $incdir/test_functions.sh
21
22tests="BASE-FDPASS BASE-LOCK "
23tests="$tests BASE-UNLINK BASE-ATTR"
24tests="$tests BASE-DIR1 BASE-DIR2 BASE-VUID"
25tests="$tests BASE-TCON BASE-TCONDEV BASE-RW1"
26tests="$tests BASE-DENY3 BASE-XCOPY BASE-OPEN BASE-DENYDOS"
27tests="$tests BASE-DELETE BASE-PROPERTIES BASE-MANGLE"
28tests="$tests BASE-CHKPATH BASE-SECLEAK BASE-TRANS2"
29tests="$tests BASE-NTDENY1 BASE-NTDENY2 BASE-RENAME BASE-OPENATTR"
30tests="$tests RAW-QFILEINFO RAW-SFILEINFO-BUG RAW-SFILEINFO"
31tests="$tests RAW-LOCK RAW-MKDIR RAW-SEEK RAW-CONTEXT RAW-MUX RAW-OPEN RAW-WRITE"
32tests="$tests RAW-UNLINK RAW-READ RAW-CLOSE RAW-IOCTL RAW-CHKPATH RAW-RENAME"
33tests="$tests RAW-EAS RAW-STREAMS RAW-OPLOCK RAW-NOTIFY BASE-DELAYWRITE"
34# slowest tests last
35tests="$tests BASE-DENY1 BASE-DENY2"
36
37# these tests are known to fail against windows
38fail="RAW-SEARCH RAW-ACLS RAW-QFSINFO"
39
40echo "Skipping tests expected to fail: $fail"
41
42for t in $tests; do
43 testit "$t" smb $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS $unc -U"$username"%"$password" $t
44done
Note: See TracBrowser for help on using the repository browser.