Lines Matching full:cleanup
46 * Cleanup:
81 void cleanup();
131 tst_brkm(TBROK, cleanup,
135 SAFE_MKDIR(cleanup, tstdir1, PERMS);
138 tst_brkm(TBROK, cleanup, "failed to stat directory %s "
145 tst_brkm(TBROK, cleanup,
150 SAFE_MKDIR(cleanup, tstdir2, PERMS);
153 tst_brkm(TBROK, cleanup, "fork() failed");
159 tst_brkm(TBROK, cleanup, "self_exec failed");
169 SAFE_MKDIR(cleanup, tstdir3, 0700);
171 SAFE_MKDIR(cleanup, tstdir4, 0777);
174 tst_brkm(TBROK, cleanup, "fork() failed");
180 tst_brkm(TBROK, cleanup, "self_exec failed");
213 * cleanup and exit
215 cleanup();
230 tst_brkm(TBROK, cleanup, "setreuid failed to "
252 tst_brkm(TBROK, cleanup, "seteuid(0) failed");
268 tst_brkm(TBROK, cleanup, "setreuid failed to "
290 tst_brkm(TBROK, cleanup, "seteuid(0) failed");
307 tst_sig(FORK, DEF_HANDLER, cleanup);
323 * cleanup() - performs all ONE TIME cleanup for this test at
326 void cleanup(void)