X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-fstatat.c;h=839dad6c372001558f2aef93b4d5966063f8bae8;hb=48768ae733581a3bd2d2bd2050f0cfa728a51d91;hp=6160e16145cbdbd0a8020e05f93b47e57f577122;hpb=9c40f34443ba034ee7890ab10c369a903417765d;p=pspp diff --git a/tests/test-fstatat.c b/tests/test-fstatat.c index 6160e16145..839dad6c37 100644 --- a/tests/test-fstatat.c +++ b/tests/test-fstatat.c @@ -1,5 +1,5 @@ /* Tests of fstatat. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2011 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 @@ -33,6 +33,7 @@ SIGNATURE_CHECK (fstatat, int, (int, char const *, struct stat *, int)); #include "openat.h" #include "pathmax.h" #include "same-inode.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-fstatat.t" @@ -62,7 +63,7 @@ main (void) int result; /* Remove any leftovers from a previous partial run. */ - system ("rm -rf " BASE "*"); + ignore_value (system ("rm -rf " BASE "*")); result = test_stat_func (do_stat, false); ASSERT (test_lstat_func (do_lstat, false) == result);