X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-canonicalize.c;h=f8d35365f456131cd5bd2bec7d30ca870f08383b;hb=7abd07c81cfa2e0922bda8d0dbea67a31a8d853c;hp=583026744f5dca248a19d1b64cdd8f9fc8617cd7;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-canonicalize.c b/tests/test-canonicalize.c index 583026744..f8d35365f 100644 --- a/tests/test-canonicalize.c +++ b/tests/test-canonicalize.c @@ -1,5 +1,5 @@ /* Test of execution of file name canonicalization. - Copyright (C) 2007-2009 Free Software Foundation, Inc. + Copyright (C) 2007-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 "same-inode.h" +#include "ignore-value.h" #include "macros.h" #define BASE "t-can.tmp" @@ -46,7 +47,7 @@ main (void) any leftovers from a previous partial run. */ { int fd; - ASSERT (system ("rm -rf " BASE " ise") == 0); + ignore_value (system ("rm -rf " BASE " ise")); ASSERT (mkdir (BASE, 0700) == 0); fd = creat (BASE "/tra", 0600); ASSERT (0 <= fd);