mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r22160: Only use test environment names that actually exist (get make
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 commit is contained in:
parent
ed0410309b
commit
519f3c0575
@ -223,6 +223,7 @@ sub run_test_buildfarm($$$$)
|
||||
if ($ret == $expected_ret) {
|
||||
print "TEST PASSED: $name\n";
|
||||
} else {
|
||||
push(@$suitesfailed, $name);
|
||||
print "TEST FAILED: $name (status $ret)\n";
|
||||
}
|
||||
print "==========================================\n";
|
||||
|
@ -15,5 +15,5 @@ tests="$tests RAW-EAS RAW-STREAMS"
|
||||
|
||||
for t in $tests; do
|
||||
name="$t"
|
||||
plantest "$name" base $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/cifs -U"\$USERNAME"%"\$PASSWORD" $t
|
||||
plantest "$name" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $ADDARGS //\$SERVER/cifs -U"\$USERNAME"%"\$PASSWORD" $t
|
||||
done
|
||||
|
@ -18,7 +18,7 @@ for bindoptions in seal,padcheck $VALIDATE bigendian; do
|
||||
esac
|
||||
for t in $tests; do
|
||||
name="$t on $transport with $bindoptions"
|
||||
plantest "$name" rpc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*"
|
||||
plantest "$name" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*"
|
||||
done
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user