X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-lstat.c;h=d520193f31aaf5f4cbe4d3e1f1926ec9db01c2f2;hb=fa1db0dd22768f09a507674a30beb5b8a87bb35f;hp=bff40ebf302f72e2ea7d4199a09787d0f88c917a;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-lstat.c b/tests/test-lstat.c index bff40ebf3..d520193f3 100644 --- a/tests/test-lstat.c +++ b/tests/test-lstat.c @@ -1,5 +1,5 @@ /* Test of lstat() function. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008-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 @@ -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); }