Lines Matching refs:acct
25 * issue calls to acct and test the returned values against
107 /* check if acct is implemented in kernel */
108 if (acct(NULL) == -1) {
132 if (acct(TEST_FILE5) == -1)
133 tst_brkm(TBROK | TERRNO, cleanup, "acct failed unexpectedly");
135 /* turn off acct, so we are in a known state */
136 if (acct(NULL) == -1)
137 tst_brkm(TBROK | TERRNO, cleanup, "acct(NULL) failed");
171 TEST(acct(test_cases[i].filename));
177 tst_resm(TFAIL, "acct(%s) succeeded unexpectedly",
183 tst_resm(TPASS | TTERRNO, "acct failed as expected");
186 "acct failed unexpectedly; expected: %d - %s",
204 if (acct(NULL) == -1)
205 tst_resm(TWARN | TERRNO, "acct(NULL) failed");