make less verbose in case of success

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14761 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-10 14:05:15 +00:00
parent e8bd38e643
commit cce019aa2f
2 changed files with 2 additions and 8 deletions

View File

@@ -324,12 +324,9 @@ main(int argc, char **argv)
printf("test pattern %d failed with %d (should have been %d)\n",
i, maj_stat, pl[i].error_code);
failed++;
} else
printf("test %d success\n", i);
}
}
if (failed)
printf("FAILED %d tests\n", failed);
else
printf("no failure\n");
return failed != 0;
}

View File

@@ -324,12 +324,9 @@ main(int argc, char **argv)
printf("test pattern %d failed with %d (should have been %d)\n",
i, maj_stat, pl[i].error_code);
failed++;
} else
printf("test %d success\n", i);
}
}
if (failed)
printf("FAILED %d tests\n", failed);
else
printf("no failure\n");
return failed != 0;
}