X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-rename.c;h=132c788dc76c8a659212a0b5f352eac599a1ca31;hb=a77413333408e54b8d6c4e19918098794cef4b4b;hp=17cd025cf89620216d65ee91c5133731d5271f45;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-rename.c b/tests/test-rename.c index 17cd025cf..132c788dc 100644 --- a/tests/test-rename.c +++ b/tests/test-rename.c @@ -1,9 +1,9 @@ /* Test of rename() function. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2013 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 - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -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); }