X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-rename.c;h=5ac83caf8752b9e5b6154baef2ed3004ec1e2e50;hb=1bb384c44db25aef8f8b455cef22af32d8401abc;hp=25db639220f829bcf0b4548b1ca392d67640365a;hpb=ba2d9dffa77a8a1ff255b51820d2d791c909e779;p=gnulib.git diff --git a/tests/test-rename.c b/tests/test-rename.c index 25db63922..5ac83caf8 100644 --- a/tests/test-rename.c +++ b/tests/test-rename.c @@ -1,5 +1,5 @@ /* Test of rename() function. - 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 @@ -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); }