Lines Matching defs:cleanup
102 void cleanup(); /* cleanup function for the test */
173 SAFE_CHDIR(cleanup, "..");
176 * Invoke cleanup() to delete the test directories created
179 cleanup();
199 tst_sig(NOFORK, DEF_HANDLER, cleanup);
208 tst_brkm(TBROK, cleanup, "chmod() failed");
222 tst_brkm(TBROK, cleanup, "%s not in /etc/passwd", LTPUSER);
235 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX);
236 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid);
242 SAFE_STAT(cleanup, DIR_TEMP, &buf);
246 tst_brkm(TBROK, cleanup,
252 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP);
259 SAFE_SETGID(cleanup, group1_gid);
261 tst_brkm(TBROK, cleanup,
269 SAFE_CHDIR(cleanup, DIR_TEMP);
273 * cleanup() - Performs all ONE TIME cleanup for this test at
282 void cleanup(void)