[wpkg-users] [Bug 112] New: File size check fails

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Thu Apr 24 18:57:42 CEST 2008


http://bugzilla.wpkg.org/show_bug.cgi?id=112

           Summary: File size check fails
           Product: WPKG
           Version: 1.1.x-M
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: wpkg.js
        AssignedTo: r.meier at wpkg.org
        ReportedBy: r.meier at wpkg.org
         QAContact: wpkg-users at lists.wpkg.org


As reported by Daniel Dehennin on the mailing list WPKG 1.1.0-M4 fails to check
files for their size:

Daniel:

I'm unable to test a file size, using wpkg 1.1-M4

<check type='file'
       condition='exists'
       path='%ProgramFiles%\Mozilla Firefox\mozilla.cfg'/>

<check type='file' condition='sizeequals' value='2017'
       path='%ProgramFiles%\Mozilla Firefox\mozilla.cfg'/>

It gives me in the log file:

The path 'C:\Program Files\Mozilla Firefox\mozilla.cfg' exists: the test was
successful
Finding size of C:\Program Files\Mozilla Firefox\mozilla.cfg|
Unable to get file size for C:\Program Files\Mozilla Firefox\mozilla.cfg :
'path' is undefined
Leaving getFileSize with size -1
The file 'C:\Program Files\Mozilla Firefox\mozilla.cfg' has size -1 - wanted
2017: the test fails


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list