Skip to content

Commit ff42e87

Browse files
authored
Return correct code to indicate test not found
1 parent a566dc2 commit ff42e87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

groups/nts/ntscfg/ntscfg_test.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ int main(int argc, char** argv)
11111111
(0 == bsl::strcmp(arg, "--help")))
11121112
{
11131113
BloombergLP::ntscfg::TestUtil::help();
1114-
return 1;
1114+
return 0;
11151115
}
11161116

11171117
if ((0 == bsl::strcmp(arg, "-l")) ||
@@ -1187,7 +1187,7 @@ int main(int argc, char** argv)
11871187
bsl::cerr << "The test case number " << number
11881188
<< " is not found" << bsl::endl;
11891189
}
1190-
return 1;
1190+
return -1;
11911191
}
11921192
}
11931193
else {

0 commit comments

Comments
 (0)