X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mknod.c;h=b7e7b03740e914acf7ae1409b48fd44b3434ea54;hb=9fc77bc59374e21e1174742df416af186a368e14;hp=a62df6d112393938e43cf03ace5b7b100b51cbb1;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-mknod.c b/tests/test-mknod.c index a62df6d11..b7e7b0374 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-2011 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. */ - ASSERT (system ("rm -rf " BASE "*") == 0); + ignore_value (system ("rm -rf " BASE "*")); /* We can only portably test creation of fifos. Anything else requires root privileges and knowledge of device numbers. */