Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
8f0cf84b
Commit
8f0cf84b
authored
Nov 06, 2014
by
Mark Andrews
Browse files
set working directory; #include <string.h>
parent
5ee9f7f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/tests/file_test.c
View file @
8f0cf84b
...
...
@@ -15,9 +15,11 @@
*/
#include
<config.h>
#include
<fcntl.h>
#include
<stdlib.h>
#include
<string.h>
#include
<unistd.h>
#include
<fcntl.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
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment