summaryrefslogtreecommitdiff
path: root/security/nss/tests/tools/tools.sh
diff options
context:
space:
mode:
authornelsonb%netscape.com <devnull@localhost>2004-07-15 22:21:57 +0000
committernelsonb%netscape.com <devnull@localhost>2004-07-15 22:21:57 +0000
commitaf2cd627ef7a1eb4ec3a7b7e85d088af36f3276a (patch)
tree2bf5884934c2b56dd668bb6e27e08bcfb6b9bc2e /security/nss/tests/tools/tools.sh
parente77f4a0ca6250a055612636d5e7b4cd4540dd36c (diff)
downloadnss-hg-af2cd627ef7a1eb4ec3a7b7e85d088af36f3276a.tar.gz
Apply review feedback to signtool sources. Add test case to QA tests.
Bug 248751.
Diffstat (limited to 'security/nss/tests/tools/tools.sh')
-rw-r--r--security/nss/tests/tools/tools.sh24
1 files changed, 21 insertions, 3 deletions
diff --git a/security/nss/tests/tools/tools.sh b/security/nss/tests/tools/tools.sh
index f029e5ba8..d4a16eec4 100644
--- a/security/nss/tests/tools/tools.sh
+++ b/security/nss/tests/tools/tools.sh
@@ -151,22 +151,40 @@ liz@moz.org
SIGNSCRIPT
html_msg $? 0 "Create objsign cert (signtool -G)"
- echo "$SCRIPTNAME: Signing a set of files ----------------------------"
+ echo "$SCRIPTNAME: Signing a jar of files ----------------------------"
echo "signtool -Z nojs.jar -d ${P_R_ALICEDIR} -p \"nss\" -k objsigner \\"
echo " ${R_TOOLSDIR}/html"
signtool -Z nojs.jar -d ${P_R_ALICEDIR} -p "nss" -k objsigner \
${R_TOOLSDIR}/html
- html_msg $? 0 "Signing a set of files (signtool -Z)"
+ html_msg $? 0 "Signing a jar of files (signtool -Z)"
echo "$SCRIPTNAME: Listing signed files in jar ----------------------"
echo "signtool -v nojs.jar -d ${P_R_ALICEDIR} -p nss -k objsigner"
signtool -v nojs.jar -d ${P_R_ALICEDIR} -p nss -k objsigner
html_msg $? 0 "Listing signed files in jar (signtool -v)"
-
+
echo "$SCRIPTNAME: Show who signed jar ------------------------------"
echo "signtool -w nojs.jar -d ${P_R_ALICEDIR}"
signtool -w nojs.jar -d ${P_R_ALICEDIR}
html_msg $? 0 "Show who signed jar (signtool -w)"
+
+ echo "$SCRIPTNAME: Signing a xpi of files ----------------------------"
+ echo "signtool -Z nojs.xpi -X -d ${P_R_ALICEDIR} -p \"nss\" -k objsigner \\"
+ echo " ${R_TOOLSDIR}/html"
+ signtool -Z nojs.xpi -X -d ${P_R_ALICEDIR} -p "nss" -k objsigner \
+ ${R_TOOLSDIR}/html
+ html_msg $? 0 "Signing a xpi of files (signtool -Z -X)"
+
+ echo "$SCRIPTNAME: Listing signed files in xpi ----------------------"
+ echo "signtool -v nojs.xpi -d ${P_R_ALICEDIR} -p nss -k objsigner"
+ signtool -v nojs.xpi -d ${P_R_ALICEDIR} -p nss -k objsigner
+ html_msg $? 0 "Listing signed files in xpi (signtool -v)"
+
+ echo "$SCRIPTNAME: Show who signed xpi ------------------------------"
+ echo "signtool -w nojs.xpi -d ${P_R_ALICEDIR}"
+ signtool -w nojs.xpi -d ${P_R_ALICEDIR}
+ html_msg $? 0 "Show who signed xpi (signtool -w)"
+
}
############################## tools_cleanup ###########################