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:
Love Hörnquist Åstrand
2006-12-27 20:40:56 +00:00
parent ce533a60e2
commit e36ba820f2

View File

@@ -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);