mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
testprogs/blackbox/subunit.sh: initialize failed to 0
This is a short-term workarround for broken scripts, which use "exit $failed", without initializing failed. We need a discussion on the mailing list how to handle this in a nicer way. This should fix some random failures in the blackbox tests. metze
This commit is contained in:
parent
80f9ad4074
commit
22dfb16d73
@ -29,6 +29,9 @@ subunit_pass_test () {
|
||||
echo "success: $1"
|
||||
}
|
||||
|
||||
# This is just a hack as we have some broken scripts
|
||||
# which use "exit $failed", without initializing failed.
|
||||
failed=0
|
||||
|
||||
subunit_fail_test () {
|
||||
# emit the current protocol fail-marker for test $1, and emit stdin as
|
||||
|
Loading…
x
Reference in New Issue
Block a user