X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-rmdir.c;h=7b1ef37d5bb8242cbfb427524fbc4d207d709a23;hb=3fdb706a2a7464a81025bfd07d06c867130f9f1f;hp=a270ca7e3a9a4bfb82e02a317c79781917d923a5;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-rmdir.c b/tests/test-rmdir.c index a270ca7e3..7b1ef37d5 100644 --- a/tests/test-rmdir.c +++ b/tests/test-rmdir.c @@ -1,5 +1,5 @@ /* Tests of rmdir. - 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 (rmdir, int, (char const *)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-rmdir.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_rmdir_func (rmdir, true); }