diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-02 12:53:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:30 -0500 |
commit | b77fabc2747cd02f7204b781d98a5f136cb158ea (patch) | |
tree | 9360718eefbf630e2a1c47abd14511506d06f421 /source4/torture | |
parent | 78996e64b4c066ce9476448fec4375f47158c7fd (diff) | |
download | samba-b77fabc2747cd02f7204b781d98a5f136cb158ea.tar.gz samba-b77fabc2747cd02f7204b781d98a5f136cb158ea.tar.bz2 samba-b77fabc2747cd02f7204b781d98a5f136cb158ea.zip |
r24891: Fix smbtorture to exit non-zero if a test suite wasn't found.
(This used to be commit 44139acf3045149de5bbbbdfd6e0304fc9e0b8dd)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smbtorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 89e13b0645..6fbd824ecb 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -665,7 +665,7 @@ int main(int argc,char *argv[]) } } - if (torture->returncode) { + if (torture->returncode && correct) { return(0); } else { return(1); |