projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-sys_socket: mark variables as used more readably
[gnulib.git]
/
tests
/
test-linkat.c
diff --git
a/tests/test-linkat.c
b/tests/test-linkat.c
index
c2ad0e5
..
cee1c99
100644
(file)
--- a/
tests/test-linkat.c
+++ b/
tests/test-linkat.c
@@
-29,11
+29,13
@@
SIGNATURE_CHECK (linkat, int, (int, char const *, int, char const *, int));
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
#include "areadlink.h"
#include "filenamecat.h"
#include "same-inode.h"
#include "xgetcwd.h"
#include "areadlink.h"
#include "filenamecat.h"
#include "same-inode.h"
#include "xgetcwd.h"
+#include "ignore-value.h"
#include "macros.h"
#define BASE "test-linkat.t"
#include "macros.h"
#define BASE "test-linkat.t"
@@
-81,7
+83,7
@@
main (void)
int result;
/* Clean up any trash from prior testsuite runs. */
int result;
/* Clean up any trash from prior testsuite runs. */
-
system ("rm -rf " BASE "*"
);
+
ignore_value (system ("rm -rf " BASE "*")
);
/* Test basic link functionality, without mentioning symlinks. */
result = test_link (do_link, true);
/* Test basic link functionality, without mentioning symlinks. */
result = test_link (do_link, true);