~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to source4/selftest/test_w2k3_file.sh

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

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