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-rmdir.c
diff --git
a/tests/test-rmdir.c
b/tests/test-rmdir.c
index
a155e1b
..
7b1ef37
100644
(file)
--- a/
tests/test-rmdir.c
+++ b/
tests/test-rmdir.c
@@
-30,6
+30,7
@@
SIGNATURE_CHECK (rmdir, int, (char const *));
#include <stdlib.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <sys/stat.h>
+#include "ignore-value.h"
#include "macros.h"
#define BASE "test-rmdir.t"
#include "macros.h"
#define BASE "test-rmdir.t"
@@
-40,7
+41,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_rmdir_func (rmdir, true);
}
return test_rmdir_func (rmdir, true);
}