From b77fabc2747cd02f7204b781d98a5f136cb158ea Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 2 Sep 2007 12:53:46 +0000 Subject: r24891: Fix smbtorture to exit non-zero if a test suite wasn't found. (This used to be commit 44139acf3045149de5bbbbdfd6e0304fc9e0b8dd) --- source4/torture/smbtorture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') 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); -- cgit