From 67ceb463799af10c5c359424e680b7cc2da0d77d Mon Sep 17 00:00:00 2001 From: "christophe.ravel.bugs%sun.com" Date: Thu, 20 Dec 2007 18:38:44 +0000 Subject: [PATCH] Bug 409221: JSS test tries to use amd64 Java on sparcv9 for 64bit test r=glen.beasley --- security/jss/org/mozilla/jss/tests/all.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security/jss/org/mozilla/jss/tests/all.pl b/security/jss/org/mozilla/jss/tests/all.pl index be5be378cd0..4d77bdf4623 100644 --- a/security/jss/org/mozilla/jss/tests/all.pl +++ b/security/jss/org/mozilla/jss/tests/all.pl @@ -226,7 +226,8 @@ sub setup_vars { if ($osname eq "SunOS") { if ($ENV{USE_64}) { my $cpu = `/usr/bin/isainfo -n`; - if ($cpu == "amd64") { + chomp $cpu; + if ($cpu eq "amd64") { $java = "$ENV{JAVA_HOME}/jre/bin/amd64/java$exe_suffix"; $java_64bit = 1; }