int main(int argc, char *argv[]) { int lc; char *msg; int i; msg = parse_opts(argc, argv, options, help); if (msg != NULL) tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg); /* Check for mandatory option of the testcase */ if (!dflag) { tst_brkm(TBROK, NULL, "you must specify the device used for " "mounting with -D option"); } setup(); TEST_EXP_ENOS(exp_enos); for (lc = 0; TEST_LOOPING(lc); lc++) { tst_count = 0; for (i = 0; i < TST_TOTAL; i++) acct_verify(i); } cleanup(); tst_exit(); }
int main(int argc, char *argv[]) { int lc; const char *msg; int i; msg = parse_opts(argc, argv, NULL, NULL); if (msg != NULL) tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg); setup(); TEST_EXP_ENOS(exp_enos); for (lc = 0; TEST_LOOPING(lc); lc++) { tst_count = 0; for (i = 0; i < TST_TOTAL; i++) acct_verify(i); } cleanup(); tst_exit(); }