mkdir, mkdirat: add tests
[pspp] / ChangeLog
index c2ed5773b38c53caa60b1e2af0595865f90e596c..3ce4f945b22b0de46cf989fcf63298e239c8cbec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,46 @@
+2009-10-07  Eric Blake  <ebb9@byu.net>
+
+       mkdir, mkdirat: add tests
+       * modules/mkdir-tests: New test.
+       * tests/test-mkdir.h: New file.
+       * tests/test-mkdir.c: Likewise.
+       * tests/test-mkdirat.c: Likewise.
+       * modules/openat-tests (Files): Add new files.
+       (Makefile.am): Run new test.
+
 2009-10-06  Eric Blake  <ebb9@byu.net>
 
+       doc: tweak *at function documentation
+       * doc/posix-functions/faccessat.texi (faccessat): Mention
+       known issue with replacement.
+       * doc/posix-functions/fchdir.texi (fchdir): Likewise.
+       * doc/posix-functions/linkat.texi (linkat): Likewise.
+       * doc/posix-functions/mkfifoat.texi (mkfifoat): Likewise.
+       * doc/posix-functions/mknodat.texi (mknodat): Likewise.
+       * doc/posix-functions/readlinkat.texi (readlinkat): Likewise.
+       * doc/posix-functions/renameat.texi (renameat): Likewise.
+       * doc/posix-functions/symlinkat.texi (symlinkat): Likewise.
+
+       openat: fix GNU/Hurd bug in unlinkat
+       * m4/openat.m4 (gl_FUNC_OPENAT): Replace unlinkat if unlink is
+       broken.
+       * doc/posix-functions/unlink.texi (unlink): Document this.
+       * doc/posix-functions/unlinkat.texi (unlinkat): Likewise.
+
+       fdopendir: fix GNU/Hurd bug
+       * m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Check for Hurd bug in
+       allowing non-directory fds.
+       * lib/fdopendir.c (rpl_fdopendir): Work around it.
+       * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): New witness.
+       * modules/dirent (Makefile.am): Substitute it.
+       * lib/dirent.in.h (fdopendir): Declare replacement.
+       * doc/posix-functions/fdopendir.texi (fdopendir): Document this.
+       * tests/test-fdopendir.c (main): Test something other than
+       /dev/null, since on Hurd that behaves like a directory.
+
+       test-symlink: port to GNU/Hurd
+       * tests/test-symlink.h (test_symlink): Relax expected errno.
+
        doc: tweak more cygwin information
        * doc/glibc-headers/getopt.texi (getopt.h): Cygwin 1.7 getopt is
        now compatible with glibc.