X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-unlink.c;h=39a77bca96ae3eac4ac8a0fe807c9044101bceb0;hb=25b6b5120113989e0b91de9d0b75d3d625bbc753;hp=3d63a3113b88c7de8e943b871dbbc8eb7d873b1b;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-unlink.c b/tests/test-unlink.c index 3d63a3113..39a77bca9 100644 --- a/tests/test-unlink.c +++ b/tests/test-unlink.c @@ -1,5 +1,5 @@ /* Tests of unlink. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2012 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 @@ -32,6 +32,7 @@ SIGNATURE_CHECK (unlink, int, (char const *)); #include #include "unlinkdir.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-unlink.t" @@ -42,7 +43,7 @@ int main (void) { /* Remove any leftovers from a previous partial run. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); return test_unlink_func (unlink, true); }