X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mknod.c;h=ed97b45a5204bd27ae85ba03d1ed5504e622e597;hb=c9f0960c2cd1acf9c29b27860589698ea54fa4ec;hp=ed16b5002887cdace054a1bcb357a17a05774330;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-mknod.c b/tests/test-mknod.c index ed16b5002..ed97b45a5 100644 --- a/tests/test-mknod.c +++ b/tests/test-mknod.c @@ -1,5 +1,5 @@ /* Tests of mknod. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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. */