Closed Bug 491076 Opened 15 years ago Closed 15 years ago

OCSP tests are not run on HP-UX

Categories

(NSS :: Test, defect, P3)

HP
HP-UX
defect

Tracking

(Not tracked)

VERIFIED FIXED
3.12.4

People

(Reporter: christophe.ravel.bugs, Assigned: christophe.ravel.bugs)

Details

Attachments

(1 file)

Because of a script error, the OCSP tests are not run on HP-UX:

Usage:	ping [-oprv] [-f address-family] [-i address] [-I interval] [-t ttl] host [-n count [-m timeout]]
	ping [-oprv] [-f address-family] [-i address] [-I interval] [-t ttl] host packet-size [[-n] count [-m timeout]]
OCSP server not accessible, skipping OCSP tests
TIMESTAMP chains END: Fri May  1 15:34:16 PDT 2009
in mozilla/security/nss/tests/chains/chains.sh:

    if [ "${OS_ARCH}" = "WINNT" ]; then
        ping -n 1 ${OCSP_HOST}
        return $?
    elif [ "${OS_ARCH}" = "HP-UX" ]; then
        ping ${OCSP_HOST} -c 1
        return $?
    else
        ping -c 1 ${OCSP_HOST}
        return $?
    fi

On HP-UX, the ping command should be:
ping ${OCSP_HOST} -n 1
Assignee: slavomir.katuscak → christophe.ravel.bugs
Status: NEW → ASSIGNED
Attachment #375415 - Flags: review?(nelson)
Priority: -- → P3
Target Milestone: --- → 3.12.4
Comment on attachment 375415 [details] [diff] [review]
Fix detection of OCSP_HOST for HP-UX (ping) - checked in.

r=nelson
Attachment #375415 - Flags: review?(nelson) → review+
Attachment #375415 - Attachment description: Fix detection of OCSP_HOST for HP-UX (ping) → Fix detection of OCSP_HOST for HP-UX (ping) - checked in.
Checking in chains.sh;
/cvsroot/mozilla/security/nss/tests/chains/chains.sh,v  <--  chains.sh
new revision: 1.18; previous revision: 1.17
done
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
I verified that we are now running the OCSP tests from chains.sh on HP-UX:

PING dochinups: 64 byte packets
64 bytes from 192.18.72.36: icmp_seq=0. time=0. ms

----dochinups PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0
chains.sh: Creating DB OCSPRootDB
...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: