X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-areadlinkat-with-size.c;h=f709ea825b45c28ce0cbd6f1b88061f1aa53accc;hb=880d107;hp=113c6b40e96b7dd39a0760cf4d33c4a811feab4e;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-areadlinkat-with-size.c b/tests/test-areadlinkat-with-size.c index 113c6b40e..f709ea825 100644 --- a/tests/test-areadlinkat-with-size.c +++ b/tests/test-areadlinkat-with-size.c @@ -1,5 +1,5 @@ /* Tests of areadlinkat_with_size. - 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 @@ -29,6 +29,7 @@ #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-areadlinkat-with-size.t" @@ -50,7 +51,7 @@ main (void) int result; /* Remove any leftovers from a previous partial run. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); /* Basic tests. */ result = test_areadlink (do_areadlinkat_with_size, false);