Home | History | Annotate | Download | only in acct

Lines Matching full:cleanup

59 static void cleanup(void);
101 cleanup();
127 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
129 fd = SAFE_CREAT(cleanup, TEST_FILE5, 0777);
130 SAFE_CLOSE(cleanup, fd);
133 tst_brkm(TBROK | TERRNO, cleanup, "acct failed unexpectedly");
137 tst_brkm(TBROK | TERRNO, cleanup, "acct(NULL) failed");
140 SAFE_SYMLINK(cleanup, TEST_FILE6, "test_file_eloop2");
141 SAFE_SYMLINK(cleanup, "test_file_eloop2", TEST_FILE6);
148 device = tst_acquire_device(cleanup);
151 tst_brkm(TCONF, cleanup, "Failed to obtain block device");
153 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
154 SAFE_MKDIR(cleanup, "mntpoint", DIR_MODE);
155 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, 0, NULL);
159 fd = SAFE_CREAT(cleanup, TEST_FILE8, 0644);
160 SAFE_CLOSE(cleanup, fd);
161 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type,
194 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
199 SAFE_SETEUID(cleanup, 0);
202 static void cleanup(void)