projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work around bug with trailing slash on Solaris 9 and HP-UX 11.00.
[gnulib.git]
/
tests
/
test-fopen.c
diff --git
a/tests/test-fopen.c
b/tests/test-fopen.c
index
038177f
..
f1b7b6d
100644
(file)
--- a/
tests/test-fopen.c
+++ b/
tests/test-fopen.c
@@
-36,6
+36,8
@@
int
main ()
{
+ ASSERT (fopen ("nonexist.ent/", "w") == NULL);
+
ASSERT (fopen ("/dev/null", "r") != NULL);
return 0;