X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-mkfifoat.c;h=fe086fd0368c71d28b7b4196797d37b30f754e3b;hb=86e6a68e249fd4e4af6cebbfddfc52b33d3f8b37;hp=01fc4da5501e7b1953f57107eb2c51959aa175b6;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=pspp diff --git a/tests/test-mkfifoat.c b/tests/test-mkfifoat.c index 01fc4da550..fe086fd036 100644 --- a/tests/test-mkfifoat.c +++ b/tests/test-mkfifoat.c @@ -1,5 +1,5 @@ /* Tests of mkfifoat and mknodat. - Copyright (C) 2009, 2010 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 @@ -32,6 +32,7 @@ SIGNATURE_CHECK (mknodat, int, (int, char const *, mode_t, dev_t)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-mkfifoat.t" @@ -72,7 +73,7 @@ main (void) int result; /* Remove any leftovers from a previous partial run. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); /* Basic tests. */ result = test_mkfifo (do_mkfifoat, true);