Work around bug with trailing slash on Solaris 9 and HP-UX 11.00.
[gnulib.git] / tests / test-fopen.c
index 038177f..f1b7b6d 100644 (file)
@@ -36,6 +36,8 @@
 int
 main ()
 {
+  ASSERT (fopen ("nonexist.ent/", "w") == NULL);
+
   ASSERT (fopen ("/dev/null", "r") != NULL);
 
   return 0;