99%: Checks: 611, Failures: 2, Errors: 0
base/fsys/pdf-fsys-file-open.c:127:F:pdf_fsys_file_open: 
pdf_fsys_file_open_003:0: Failure 'pdf_fsys_file_open(NULL, path, 
PDF_FSYS_OPEN_MODE_WRITE, &file) != PDF_EBADPERMS' occured
base/fsys/pdf-fsys-file-close.c:60:F:pdf_fsys_file_close:pdf_fsys_file_close_001:0:
 Failure 'pdf_fsys_file_open(NULL, path, PDF_FSYS_OPEN_MODE_READ, &file) != 
PDF_OK' occured

The test pdf_fsys_file_open_003 says:

      *   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.

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


Greetings,
David.


Reply via email to