Tweak the dup2 test.
[pspp] / ChangeLog
index 80d97a9562bf22d1c2eb849f8d4c0d06ba28948d..748419fafdf4b18d7cdd04dac05880e1c7fec07a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-08-23  Bruno Haible  <bruno@clisp.org>
+
+       Tweak the dup2 test.
+       * tests/test-dup2.c (main): Create the test file empty. Verify that an
+       out-of-range fd yields EBADF. Verify that after writing to /dev/null,
+       the test file is still empty. Fix argument order of lseek.
+
 2009-08-23  Bruno Haible  <bruno@clisp.org>
 
        Avoid test link errors when the modules getopt-gnu, gettext are used.