X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-mkdir.c;h=47b242a429a68f332a1f3a3eab621f8a32ad650d;hb=692679fcbebba0095bae0f1f1a99bd1f0f5a0476;hp=6be4486e81f80a9cf02507a2b836f46137adf010;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-mkdir.c b/tests/test-mkdir.c index 6be4486e8..47b242a42 100644 --- a/tests/test-mkdir.c +++ b/tests/test-mkdir.c @@ -1,5 +1,5 @@ /* Tests of mkdir. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 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); }