X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-linkat.c;h=cee1c9972c485c07c1c6aa0ad49c0143a3ed92c0;hb=bfbd822767f532ab05e24bda5b67b992f3562321;hp=efe5109db1ec4878e00e359dbca231060f3be0e7;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=gnulib.git diff --git a/tests/test-linkat.c b/tests/test-linkat.c index efe5109db..cee1c9972 100644 --- a/tests/test-linkat.c +++ b/tests/test-linkat.c @@ -1,5 +1,5 @@ /* Tests of linkat. - 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,11 +29,13 @@ SIGNATURE_CHECK (linkat, int, (int, char const *, int, char const *, int)); #include #include #include +#include #include "areadlink.h" #include "filenamecat.h" #include "same-inode.h" #include "xgetcwd.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-linkat.t" @@ -81,7 +83,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 link functionality, without mentioning symlinks. */ result = test_link (do_link, true);