*   Open an existing but readonly file for writing
         * Success condition:
         *   The call to pdf_fsys_file_open should return PDF_EBADPERMS
         */

        START_TEST(pdf_fsys_file_open_003)
        {
          pdf_fsys_file_t file;
          pdf_text_t path;
          pdf_char_t filename[] = "TD00005", *pathname;

   I suppose it means TD00004, since TD00005 is read-write. However, how
   to set the expedcted perms in the test data files? They have the
   default system permissions.

I fixed that by using a check-local hook in
torture/testdata/Makefile.am

   On the other hand, pdf_fsys_file_close_001 tries to read an _existing_
   test data file TDFSYS0001. It seems this file is missing.

It meant to refer to TD00005.  Also fixed in the trunk now.

---
Jose E. Marchesi  <[email protected]>
                  http://www.jemarch.net
GNU Project       http://www.gnu.org



Reply via email to