unigbrk: Fix uc_graphemeclusterbreak_property(), add comprehensive test.
[pspp] / tests / test-mkdir.c
index 771758e2958ee67714b85b48563f79ef07fffb25..47b242a429a68f332a1f3a3eab621f8a32ad650d 100644 (file)
@@ -30,6 +30,7 @@ SIGNATURE_CHECK (mkdir, int, (char const *, mode_t));
 #include <stdlib.h>
 #include <unistd.h>
 
+#include "ignore-value.h"
 #include "macros.h"
 
 #define BASE "test-mkdir.t"
@@ -40,7 +41,7 @@ int
 main (void)
 {
   /* Clean up any trash from prior testsuite runs.  */
-  system ("rm -rf " BASE "*");
+  ignore_value (system ("rm -rf " BASE "*"));
 
   return test_mkdir (mkdir, true);
 }