mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 23:28:18 -04:00
set working directory; #include <string.h>
This commit is contained in:
parent
5ee9f7f238
commit
8f0cf84bb1
1 changed files with 6 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue