X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-rename.c;h=5ac83caf8752b9e5b6154baef2ed3004ec1e2e50;hb=df8ad3525d27df0b821539df90af26c7fa6d3188;hp=10cabf1815f51cf3846b3b758a022fc50fcb480c;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-rename.c b/tests/test-rename.c index 10cabf181..5ac83caf8 100644 --- a/tests/test-rename.c +++ b/tests/test-rename.c @@ -1,5 +1,5 @@ /* Test of rename() function. - 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 @@ -21,6 +21,7 @@ #include "signature.h" SIGNATURE_CHECK (rename, int, (char const *, char const *)); +#include #include #include #include @@ -29,6 +30,7 @@ SIGNATURE_CHECK (rename, int, (char const *, char const *)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-rename.t" @@ -39,7 +41,7 @@ int main (void) { /* Remove any garbage left from previous partial runs. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); return test_rename (rename, true); }