projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: silence warning about system return
[gnulib.git]
/
tests
/
test-readlink.c
diff --git
a/tests/test-readlink.c
b/tests/test-readlink.c
index
4fb3a00
..
a144964
100644
(file)
--- a/
tests/test-readlink.c
+++ b/
tests/test-readlink.c
@@
-31,6
+31,7
@@
SIGNATURE_CHECK (readlink, ssize_t, (char const *, char *, size_t));
#include <string.h>
#include <sys/stat.h>
#include <string.h>
#include <sys/stat.h>
+#include "ignore-value.h"
#include "macros.h"
#define BASE "test-readlink.t"
#include "macros.h"
#define BASE "test-readlink.t"
@@
-41,7
+42,7
@@
int
main (void)
{
/* Remove any leftovers from a previous partial run. */
main (void)
{
/* Remove any leftovers from a previous partial run. */
-
system ("rm -rf " BASE "*"
);
+
ignore_value (system ("rm -rf " BASE "*")
);
return test_readlink (readlink, true);
}
return test_readlink (readlink, true);
}