X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-lchown.c;h=416edeb30f03cea37f1b94f50f6196a5b8f0b067;hb=c50edd6462eaaae00f8549f9bad99d4e68b94376;hp=24b7ece95ad3a44656ba54f861f06281433d54de;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-lchown.c b/tests/test-lchown.c index 24b7ece95..416edeb30 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-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 @@ -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. */ - ASSERT (system ("rm -rf " BASE "*") == 0); + ignore_value (system ("rm -rf " BASE "*")); return test_lchown (lchown, true); }