/* Test of execution of program termination handlers.
- 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
#include <unistd.h>
#include "same-inode.h"
+#include "ignore-value.h"
#include "macros.h"
#define BASE "t-can-lgpl.tmp"
int
main (void)
{
-#ifdef GNULIB_CANONICALIZE
+#if GNULIB_TEST_CANONICALIZE
/* No need to test canonicalize-lgpl module if canonicalize is also
in use. */
return 0;
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);