X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mkdirat.c;h=c7451968e0020c4320af47b250599f9bea0e393c;hb=ba0163712435ee40583ee8eb0dc289220b31fa35;hp=fe0da254fac73f23b0e99400df9b92e5c9548582;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-mkdirat.c b/tests/test-mkdirat.c index fe0da254f..c7451968e 100644 --- a/tests/test-mkdirat.c +++ b/tests/test-mkdirat.c @@ -1,5 +1,5 @@ /* Tests of mkdirat. - 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 (mkdirat, int, (int, char const *, mode_t)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-mkdirat.t" @@ -51,7 +52,7 @@ main (void) int result; /* Clean up any trash from prior testsuite runs. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); /* Test basic mkdir functionality. */ result = test_mkdir (do_mkdir, false);