Open Bug 928726 Opened 11 years ago Updated 2 years ago

TEST-UNEXPECTED-FAIL | .../mozilla/_tests/xpcshell/toolkit/mozapps/update/test/unit/head_update.js | 420 == 436 - See following stack:

Categories

(Core :: General, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: ishikawa, Unassigned)

Details

I have run xpcshell-tests using |make xpcshell-tests| using comm-central TB and noticed the following error in the log.
Only this permission comparison test seems to be failing while other tests
done in the same file passed. I searched bugzilla but could not find a reference to it. So I have no idea how long this has persisted.

My system is 64-bits Debian GNU/Linux.

19:51:33:604 | TEST-INFO | /REF-OBJ-DIR/objdir-tb3/mozilla/_tests/xpcshell/toolkit/mozapps/update/test/unit/head_update.js | [CFAUS_TF_FE : 2282] testing file permissions - original permissions: 664, compare permissions : 664, updated permissions : 644
TEST-UNEXPECTED-FAIL | /REF-OBJ-DIR/objdir-tb3/mozilla/_tests/xpcshell/toolkit/mozapps/update/test/unit/head_update.js | 420 == 436 - See following stack:
JS frame :: /REF-OBJ-DIR/objdir-tb3/mozilla/_tests/xpcshell/toolkit/mozapps/update/test/unit/head_update.js :: CFAUS_TF_FE :: line 2283
JS frame :: /REF-OBJ-DIR/objdir-tb3/mozilla/_tests/xpcshell/toolkit/mozapps/update/test/unit/head_update.js :: checkFilesAfterUpdateSuccess :: line 2266
JS frame :: /REF-OBJ-DIR/objdir-tb3/mozilla/_tests/xpcshell/toolkit/mozapps/update/test/unit/test_0113_general.js :: run_test :: line 332
JS frame :: /REF-COMM-CENTRAL/comm-central/mozilla/testing/xpcshell/head.js :: _execute_test :: line 348
JS frame :: -e :: <TOP_LEVEL> :: line 1
native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
TEST-INFO | (xpcshell/head.js) | exiting test


Note that 
420 is  octal 0644, and 
436 is  octal 0664.

(Pity ECMAScript/JavaScript does not honor octal literal in strict
mode, or that the original UNIX permission notation has lived to
2010's.  
See Bug 928725 - Use of octal number is deprecated
(JavaScript/ECMAScript) and so do not used it in xpishll-tests files.
)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.