unigbrk: New modules for grapheme clusters.
[pspp] / tests / test-areadlink.h
index 5e2a643b4528b37d82abb6576108f34c6db936ca..9ad801998838fcda7691722dfb6a0d8b7f93e951 100644 (file)
@@ -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 == ENOTDIR);
+  ASSERT (errno == ENOTDIR || errno == EINVAL); /* AIX yields EINVAL */
   ASSERT (unlink (BASE "file") == 0);
 
   /* Now test actual symlinks.  */