X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mkfifo.c;h=ecc9570c16f8dffde795472eeca476534e9f2ff3;hb=8e20755cd51476b841e55faf7c21a57d8884d130;hp=4b4c93b53df0f6166c2b4e4efadfba678d141db8;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-mkfifo.c b/tests/test-mkfifo.c index 4b4c93b53..ecc9570c1 100644 --- a/tests/test-mkfifo.c +++ b/tests/test-mkfifo.c @@ -1,5 +1,5 @@ /* Tests of mkfifo. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 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 (mkfifo, int, (char const *, mode_t)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-mkfifo.t" @@ -40,7 +41,7 @@ int main (void) { /* Remove any leftovers from a previous partial run. */ - ASSERT (system ("rm -rf " BASE "*") == 0); + ignore_value (system ("rm -rf " BASE "*")); return test_mkfifo (mkfifo, true); }