projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work around open() bug on HP-UX 11 and Solaris 9.
[pspp]
/
tests
/
test-open.c
diff --git
a/tests/test-open.c
b/tests/test-open.c
index c570aaad41fb92d8d2a40ecf908b4d2c957ac220..aad36c4ada8131c2061bbfe59ce92107b262b9c7 100644
(file)
--- a/
tests/test-open.c
+++ b/
tests/test-open.c
@@
-38,6
+38,8
@@
int
main ()
{
+ ASSERT (open ("nonexist.ent/", O_CREAT, 0600) < 0);
+
ASSERT (open ("/dev/null", O_RDONLY) >= 0);
return 0;