projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: update users.txt
[gnulib.git]
/
tests
/
test-areadlink.h
diff --git
a/tests/test-areadlink.h
b/tests/test-areadlink.h
index
57fdb7a
..
c7d8324
100644
(file)
--- a/
tests/test-areadlink.h
+++ b/
tests/test-areadlink.h
@@
-1,5
+1,5
@@
/* Tests of areadlink and friends.
/* Tests of areadlink and friends.
- Copyright (C) 2009 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
@@
-49,7
+49,7
@@
test_areadlink (char * (*func) (char const *, size_t), bool print)
ASSERT (errno == EINVAL);
errno = 0;
ASSERT (func (BASE "file/", 1) == NULL);
ASSERT (errno == EINVAL);
errno = 0;
ASSERT (func (BASE "file/", 1) == NULL);
- ASSERT (errno == ENOTDIR
);
+ ASSERT (errno == ENOTDIR
|| errno == EINVAL); /* AIX yields EINVAL */
ASSERT (unlink (BASE "file") == 0);
/* Now test actual symlinks. */
ASSERT (unlink (BASE "file") == 0);
/* Now test actual symlinks. */