mirror of
https://github.com/samba-team/samba.git
synced 2025-06-03 17:05:54 +03:00
quicktest to pass). Ensure that when we fail on the build farm, this ends up in the total failures. I think having the 2 different functions for running the tests is just asking for this kind of failure. The build farm should be a presentation detail, and not alter the test behaviour. There is still a gremlin in there, we will fail horribly on the farm, but not on local tests... Andrew Bartlett (This used to be commit 519f3c0575748968ece2f556f370ade98c59ff05)
20 lines
573 B
Bash
Executable File
20 lines
573 B
Bash
Executable File
#!/bin/sh
|
|
# run a quick set of filesystem tests
|
|
|
|
ADDARGS="$*"
|
|
|
|
incdir=`dirname $0`
|
|
. $incdir/test_functions.sh
|
|
|
|
tests="BASE-UNLINK BASE-ATTR BASE-DELETE"
|
|
tests="$tests BASE-TCON BASE-OPEN"
|
|
tests="$tests BASE-CHKPATH RAW-QFSINFO RAW-QFILEINFO RAW-SFILEINFO"
|
|
tests="$tests RAW-MKDIR RAW-SEEK RAW-OPEN RAW-WRITE"
|
|
tests="$tests RAW-UNLINK RAW-READ RAW-CLOSE RAW-IOCTL RAW-RENAME"
|
|
tests="$tests RAW-EAS RAW-STREAMS"
|
|
|
|
for t in $tests; do
|
|
name="$t"
|
|
plantest "$name" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/cifs -U"\$USERNAME"%"\$PASSWORD" $t
|
|
done
|