X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mkfifo.c;h=ecc9570c16f8dffde795472eeca476534e9f2ff3;hb=a01b938c7f0c8e406c82d07cb921bf6c3c1e29df;hp=fc36412b1ee25f473dea32275ececb6c1c93c91a;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-mkfifo.c b/tests/test-mkfifo.c index fc36412b1..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. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); return test_mkfifo (mkfifo, true); }