X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-unlinkat.c;h=f9ed249dbe157555e90294d645b3b9ccf76e2ed7;hb=d599e5add275f75ed08e6527b8ee4d3f4f7c3aea;hp=e0cc1c5a51c467c3e2be8b2a97f1a231d40a438e;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-unlinkat.c b/tests/test-unlinkat.c index e0cc1c5a5..f9ed249db 100644 --- a/tests/test-unlinkat.c +++ b/tests/test-unlinkat.c @@ -1,5 +1,5 @@ /* Tests of unlinkat. - 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 @@ -31,6 +31,7 @@ SIGNATURE_CHECK (unlinkat, int, (int, char const *, int)); #include #include "unlinkdir.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-unlinkat.t" @@ -62,7 +63,7 @@ main (void) int result2; /* Remove any leftovers from a previous partial run. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); result1 = test_rmdir_func (rmdirat, false); result2 = test_unlink_func (unlinker, false);