X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mkfifo.c;h=d101b95d98ca923615b865aa7b0a2b0ebd58ca7f;hb=4779b635ef35c7b0bc4044fcb5bc746d06f158c4;hp=4b4c93b53df0f6166c2b4e4efadfba678d141db8;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-mkfifo.c b/tests/test-mkfifo.c index 4b4c93b53..d101b95d9 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-2013 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); }