catch test that should fail but didn't
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19521 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -78,8 +78,9 @@ main(int argc, char **argv)
|
||||
if (ret) {
|
||||
if (!lines[i].ok)
|
||||
goto next;
|
||||
errx(1, "sl_make_argv: %d", i);
|
||||
}
|
||||
errx(1, "sl_make_argv test %d failed", i);
|
||||
} else if (!lines[i].ok)
|
||||
errx(1, "sl_make_argv passed test %d when it shouldn't", i);
|
||||
if (rargc != lines[i].argc)
|
||||
errx(1, "result argc (%d) != should be argc (%d) for test %d",
|
||||
rargc, lines[i].argc, i);
|
||||
|
Reference in New Issue
Block a user