X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-utimensat.c;h=07bdc319e8bfad15330b411b28f9bcf0767dc2b7;hb=cf67bd4906fe5676184eb0d4704b302f30a50938;hp=ba4c22d6ed72b98bbbe15c6b14d911c1e473ed84;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-utimensat.c b/tests/test-utimensat.c index ba4c22d6e..07bdc319e 100644 --- a/tests/test-utimensat.c +++ b/tests/test-utimensat.c @@ -1,5 +1,5 @@ /* Tests of utimensat. - 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 @@ -35,6 +35,7 @@ SIGNATURE_CHECK (utimensat, int, (int, char const *, struct timespec const[2], #include "stat-time.h" #include "timespec.h" #include "utimecmp.h" +#include "ignore-value.h" #include "macros.h" #define BASE "test-utimensat.t" @@ -66,7 +67,7 @@ main (void) int fd; /* Clean up any trash from prior testsuite runs. */ - ASSERT (system ("rm -rf " BASE "*") == 0); + ignore_value (system ("rm -rf " BASE "*")); /* Basic tests. */ result1 = test_utimens (do_utimensat, true);