X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mkdir.c;h=86e6f8b4696992b40142f307b725e1d4bf2aca34;hb=10faf28afff16a02b36cb09ffc7e5380ee984add;hp=771758e2958ee67714b85b48563f79ef07fffb25;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-mkdir.c b/tests/test-mkdir.c index 771758e29..86e6f8b46 100644 --- a/tests/test-mkdir.c +++ b/tests/test-mkdir.c @@ -1,5 +1,5 @@ /* Tests of mkdir. - 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 @@ -30,6 +30,7 @@ SIGNATURE_CHECK (mkdir, int, (char const *, mode_t)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-mkdir.t" @@ -40,7 +41,7 @@ int main (void) { /* Clean up any trash from prior testsuite runs. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); return test_mkdir (mkdir, true); }