projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'unictype/joiningtype-name'.
[gnulib.git]
/
tests
/
test-fchdir.c
diff --git
a/tests/test-fchdir.c
b/tests/test-fchdir.c
index
fca3ccd
..
0375c31
100644
(file)
--- a/
tests/test-fchdir.c
+++ b/
tests/test-fchdir.c
@@
-1,5
+1,5
@@
/* Test changing to a directory named by a file descriptor.
/* Test changing to a directory named by a file descriptor.
- Copyright (C) 2009
, 2010
Free Software Foundation, Inc.
+ Copyright (C) 2009
-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
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
@@
-84,7
+84,7
@@
main (void)
ASSERT (close (fd) == 0);
ASSERT (fcntl (new_fd, F_DUPFD, fd) == fd);
ASSERT (close (new_fd) == 0);
ASSERT (close (fd) == 0);
ASSERT (fcntl (new_fd, F_DUPFD, fd) == fd);
ASSERT (close (new_fd) == 0);
-#if GNULIB_DUP3
+#if GNULIB_
TEST_
DUP3
ASSERT (dup3 (fd, new_fd, 0) == new_fd);
ASSERT (dup3 (new_fd, fd, 0) == fd);
ASSERT (close (new_fd) == 0);
ASSERT (dup3 (fd, new_fd, 0) == new_fd);
ASSERT (dup3 (new_fd, fd, 0) == fd);
ASSERT (close (new_fd) == 0);