Closed
Bug 458015
Opened 16 years ago
Closed 16 years ago
Add return values check to set_freebl() in memleak.sh.
Categories
(NSS :: Test, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
3.11.10
People
(Reporter: slavomir.katuscak+mozilla, Assigned: slavomir.katuscak+mozilla)
Details
Attachments
(1 file)
6.17 KB,
patch
|
alvolkov.bgs
:
review+
|
Details | Diff | Splinter Review |
In memory leak tests we use various FreeBL libaries and in testing with non-default library, we copy libraries to temporary directory and set it as library directory. Sometimes (usually when there are some build synchronization problems) it fails: --- memleak.sh: Using libfreebl_32int_3 instead of libfreebl_32fpu_3 mv: cannot access /share/builds/mccrel3/security/securityjes5/builds/20080929.1/wozzeck_Solaris8/mozilla/tests_results/security/simplify.5/tmp19769/libfreebl_32fpu_3.so cp: cannot access /share/builds/mccrel3/security/securityjes5/builds/20080929.1/wozzeck_Solaris8/mozilla/tests_results/security/simplify.5/tmp19769/libfreebl_32int_3.so mv: cannot access /share/builds/mccrel3/security/securityjes5/builds/20080929.1/wozzeck_Solaris8/mozilla/tests_results/security/simplify.5/tmp19769/libfreebl_32fpu_3.chk cp: cannot access /share/builds/mccrel3/security/securityjes5/builds/20080929.1/wozzeck_Solaris8/mozilla/tests_results/security/simplify.5/tmp19769/libfreebl_32int_3.chk --- In function set_freebl() in memleak.sh we don't check for return values of cp/mv, so those failures are not detected automatically. Adding return value check to cp/mv commands would help.
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Assignee | ||
Comment 1•16 years ago
|
||
Added return values check + removed <TR><TD> from old html_failed calls (already added directly to html_failed function).
Attachment #341266 -
Flags: review?(christophe.ravel.bugs)
Comment 2•16 years ago
|
||
Comment on attachment 341266 [details] [diff] [review] Patch v1. r+=christophe
Attachment #341266 -
Flags: review?(christophe.ravel.bugs) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #341266 -
Flags: review+ → review?(alexei.volkov.bugs)
Updated•16 years ago
|
Attachment #341266 -
Flags: review?(alexei.volkov.bugs) → review+
Assignee | ||
Comment 3•16 years ago
|
||
3.12.x: Checking in memleak.sh; /cvsroot/mozilla/security/nss/tests/memleak/memleak.sh,v <-- memleak.sh new revision: 1.29; previous revision: 1.28 done 3.11.x: Checking in memleak.sh; /cvsroot/mozilla/security/nss/tests/memleak/memleak.sh,v <-- memleak.sh new revision: 1.1.2.20; previous revision: 1.1.2.19 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•