pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] FSYS module tests fail


From: jemarch
Subject: Re: [pdf-devel] FSYS module tests fail
Date: Tue, 15 Sep 2009 22:53:11 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

         *   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  <address@hidden>
                  http://www.jemarch.net
GNU Project       http://www.gnu.org





reply via email to

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