Lines Matching defs:cleanup
103 void cleanup(); /* cleanup function for the test */
174 SAFE_CHDIR(cleanup, "..");
177 * Invoke cleanup() to delete the test directories created
180 cleanup();
200 tst_sig(NOFORK, DEF_HANDLER, cleanup);
218 tst_brkm(TBROK, cleanup, "%s not in /etc/passwd", LTPUSER);
231 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX);
232 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid);
233 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID);
239 SAFE_STAT(cleanup, DIR_TEMP, &buf);
242 tst_brkm(TBROK, cleanup,
248 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP);
252 SAFE_CHDIR(cleanup, DIR_TEMP);
256 * cleanup() - Performs all ONE TIME cleanup for this test at
263 void cleanup(void)