Tests for module 'uninorm/nfkc'.
[gnulib.git] / tests / test-open.c
index c570aaa..0eb8a33 100644 (file)
@@ -38,6 +38,9 @@
 int
 main ()
 {
+  ASSERT (open ("nonexist.ent/", O_CREAT, 0600) < 0);
+  ASSERT (open ("/dev/null/", O_RDONLY) < 0);
+
   ASSERT (open ("/dev/null", O_RDONLY) >= 0);
 
   return 0;