X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-lstat.c;h=459bf88793bf18e7dace05f9b6340a48f743d806;hb=25b6b5120113989e0b91de9d0b75d3d625bbc753;hp=23ffec4c90554093f4ca4781736d2b005f42d0c6;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-lstat.c b/tests/test-lstat.c index 23ffec4c9..459bf8879 100644 --- a/tests/test-lstat.c +++ b/tests/test-lstat.c @@ -1,5 +1,5 @@ /* Test of lstat() function. - Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2008-2012 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 @@ -35,6 +35,7 @@ SIGNATURE_CHECK (lstat, int, (char const *, struct stat *)); #include #include "same-inode.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-lstat.t" @@ -53,7 +54,7 @@ int main (void) { /* Remove any leftovers from a previous partial run. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); return test_lstat_func (do_lstat, true); }