X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-canonicalize.c;h=a095e0e882c86d12bcfba0cd8791d8644b4c63a2;hb=1bec204c2960db4a71418ddcec179a2d1e05095f;hp=b3086b1a137d6cbdbb6c987a6d81c1b60f828ab9;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/tests/test-canonicalize.c b/tests/test-canonicalize.c index b3086b1a1..a095e0e88 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-2010 Free Software Foundation, Inc. + Copyright (C) 2007-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 @@ -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; - system ("rm -rf " BASE " ise"); + ignore_value (system ("rm -rf " BASE " ise")); ASSERT (mkdir (BASE, 0700) == 0); fd = creat (BASE "/tra", 0600); ASSERT (0 <= fd);