X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fchownat.c;h=c09694c825d0cd4cd3113a1c248034ce011ee1f0;hb=88418d5fd24c99aac393d3e2f564f6939e4e2fe3;hp=7bc763301d9af4c8290881cec4c994bf1bbe72a6;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-fchownat.c b/tests/test-fchownat.c index 7bc763301..c09694c82 100644 --- a/tests/test-fchownat.c +++ b/tests/test-fchownat.c @@ -1,5 +1,5 @@ /* Tests of fchownat. - Copyright (C) 2009, 2010 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 @@ -33,6 +33,7 @@ SIGNATURE_CHECK (fchownat, int, (int, char const *, uid_t, gid_t, int)); #include "mgetgroups.h" #include "openat.h" #include "stat-time.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-fchownat.t" @@ -63,7 +64,7 @@ main (void) int result2; /* Skip because of no lchown support. */ /* Clean up any trash from prior testsuite runs. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); /* Basic tests. */ result1 = test_chown (do_chown, true);