X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-chown.c;h=9ba69f5c2b664613a31fafdf7edf6563e30887e0;hb=b8c5e24996c9626f03890cd986fc1fb7b17fa610;hp=15a6d75357a3f7f629b3d6eabb6cdcf15d3d8833;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-chown.c b/tests/test-chown.c index 15a6d7535..9ba69f5c2 100644 --- a/tests/test-chown.c +++ b/tests/test-chown.c @@ -1,5 +1,5 @@ /* Tests of chown. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-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 @@ -32,6 +32,7 @@ SIGNATURE_CHECK (chown, int, (char const *, uid_t, gid_t)); #include "mgetgroups.h" #include "stat-time.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-chown.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_chown (chown, true); }