2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

set working directory; #include <string.h>

This commit is contained in:
Mark Andrews
2014-11-06 18:02:32 +11:00
parent 5ee9f7f238
commit 8f0cf84bb1

View File

@@ -15,9 +15,11 @@
*/
#include <config.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <atf-c.h>
@@ -45,6 +47,8 @@ ATF_TC_BODY(isc_file_sanitize, tc) {
isc_result_t result;
char buf[1024];
ATF_CHECK(chdir(TESTS) != -1);
unlink(F(TRUNC_SHA));
unlink(F(SHA));