X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-symlink.c;h=367e04541f18c5e5910fe1c2878e9ecec8eb130b;hb=df8ad3525d27df0b821539df90af26c7fa6d3188;hp=23697737f5cb494fcd52549d82cad149d7eb965d;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-symlink.c b/tests/test-symlink.c index 23697737f..367e04541 100644 --- a/tests/test-symlink.c +++ b/tests/test-symlink.c @@ -1,5 +1,5 @@ /* Tests of symlink. - 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 @@ -30,6 +30,7 @@ SIGNATURE_CHECK (symlink, int, (char const *, char const *)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-symlink.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_symlink (symlink, true); }