projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-renameat.c: include <sys/stat.h>
[gnulib.git]
/
tests
/
test-canonicalize.c
diff --git
a/tests/test-canonicalize.c
b/tests/test-canonicalize.c
index
5830267
..
f8d3536
100644
(file)
--- a/
tests/test-canonicalize.c
+++ b/
tests/test-canonicalize.c
@@
-1,5
+1,5
@@
/* Test of execution of file name canonicalization.
/* Test of execution of file name canonicalization.
- Copyright (C) 2007-20
09
Free Software Foundation, Inc.
+ Copyright (C) 2007-20
10
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
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 <unistd.h>
#include "same-inode.h"
#include <unistd.h>
#include "same-inode.h"
+#include "ignore-value.h"
#include "macros.h"
#define BASE "t-can.tmp"
#include "macros.h"
#define BASE "t-can.tmp"
@@
-46,7
+47,7
@@
main (void)
any leftovers from a previous partial run. */
{
int fd;
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);
ASSERT (mkdir (BASE, 0700) == 0);
fd = creat (BASE "/tra", 0600);
ASSERT (0 <= fd);