summaryrefslogtreecommitdiff
path: root/tests/test-chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-chown.c')
-rw-r--r--tests/test-chown.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-chown.c b/tests/test-chown.c
index 57bb810d40..380c9a3502 100644
--- a/tests/test-chown.c
+++ b/tests/test-chown.c
@@ -32,6 +32,7 @@ SIGNATURE_CHECK (chown, int, (char const *, uid_t, gid_t));
#include "mgetgroups.h"
#include "stat-time.h"
+#include "ignore-value.h"
#include "macros.h"
#define BASE "test-chown.t"
@@ -42,7 +43,7 @@ int
main (void)
{
/* Remove any leftovers from a previous partial run. */
- system ("rm -rf " BASE "*");
+ ignore_value (system ("rm -rf " BASE "*"));
return test_chown (chown, true);
}