pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] FSYS module tests fail


From: David Vazquez
Subject: [pdf-devel] FSYS module tests fail
Date: Tue, 15 Sep 2009 06:10:28 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

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

[Prev in Thread] Current Thread [Next in Thread]