X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-mkdirat.c;h=c7451968e0020c4320af47b250599f9bea0e393c;hb=ba0163712435ee40583ee8eb0dc289220b31fa35;hp=d3180e6d5630a18c8a53106b990e682b881ea6cf;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-mkdirat.c b/tests/test-mkdirat.c index d3180e6d5..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. */ - ASSERT (system ("rm -rf " BASE "*") == 0); + ignore_value (system ("rm -rf " BASE "*")); /* Test basic mkdir functionality. */ result = test_mkdir (do_mkdir, false);