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:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user