Lines Matching full:cleanup
70 void cleanup(void);
90 tst_brkm(TBROK, cleanup, "open failed: %d", errno);
92 SAFE_STAT(cleanup, in_file, &sb);
141 tst_sig(FORK, DEF_HANDLER, cleanup);
149 tst_brkm(TBROK, cleanup, "creat failed in setup, errno: %d",
154 tst_brkm(TBROK, cleanup, "write failed, errno: %d", errno);
161 * cleanup() - performs all ONE TIME cleanup for this test at
164 void cleanup(void)
180 tst_brkm(TBROK, cleanup, "call to socket() failed: %s",
189 tst_brkm(TBROK, cleanup, "call to bind() failed: %s",
193 SAFE_GETSOCKNAME(cleanup, sockfd, (struct sockaddr *)&sin1, &slen);
197 tst_brkm(TBROK, cleanup, "client/server fork failed: %s",
204 tst_brkm(TBROK, cleanup, "self_exec failed");
216 tst_brkm(TBROK, cleanup, "call to socket() failed: %s",
220 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1));
245 cleanup();