X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-lchown.c;h=f39fa10865f95e4dc483776099fa31215a26f2e5;hb=a31a41e52c0310445c29216c64920e85f91f3879;hp=0c0aa117798c66b662568c5c626b512297e8d902;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-lchown.c b/tests/test-lchown.c index 0c0aa1177..f39fa1086 100644 --- a/tests/test-lchown.c +++ b/tests/test-lchown.c @@ -1,5 +1,5 @@ /* Tests of lchown. - 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 @@ -32,6 +32,7 @@ SIGNATURE_CHECK (lchown, int, (char const *, uid_t, gid_t)); #include "mgetgroups.h" #include "stat-time.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-lchown.t" @@ -42,7 +43,7 @@ int main (void) { /* Remove any leftovers from a previous partial run. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); return test_lchown (lchown, true); }