X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mknod.c;h=16f48e9dab5c7dd1e35e4d1262380230f271ba5b;hb=880d107;hp=5d19f5f4435fb32cfc499212286d2ccbf9157d05;hpb=8d8eda4eab3d2801251daf4eb31756c3595e2fc6;p=gnulib.git diff --git a/tests/test-mknod.c b/tests/test-mknod.c index 5d19f5f44..16f48e9da 100644 --- a/tests/test-mknod.c +++ b/tests/test-mknod.c @@ -30,6 +30,7 @@ SIGNATURE_CHECK (mknod, int, (char const *, mode_t, dev_t)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-mknod.t" @@ -47,7 +48,7 @@ int main (void) { /* Remove any leftovers from a previous partial run. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); /* We can only portably test creation of fifos. Anything else requires root privileges and knowledge of device numbers. */