X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-mkfifoat.c;h=fe086fd0368c71d28b7b4196797d37b30f754e3b;hb=86e6a68e249fd4e4af6cebbfddfc52b33d3f8b37;hp=ef3e817c8dfb5d2b0e664cff961bdf06a176a4b1;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=pspp diff --git a/tests/test-mkfifoat.c b/tests/test-mkfifoat.c index ef3e817c8d..fe086fd036 100644 --- a/tests/test-mkfifoat.c +++ b/tests/test-mkfifoat.c @@ -1,5 +1,5 @@ /* Tests of mkfifoat and mknodat. - 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 @@ -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. */ - ASSERT (system ("rm -rf " BASE "*") == 0); + ignore_value (system ("rm -rf " BASE "*")); /* Basic tests. */ result = test_mkfifo (do_mkfifoat, true);