You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Nickolay Martinov (JIRA)" <ji...@apache.org> on 2011/02/03 08:00:29 UTC

[jira] Created: (EXEC-52) Tests fail on HP-UX

Tests fail on HP-UX
-------------------

                 Key: EXEC-52
                 URL: https://issues.apache.org/jira/browse/EXEC-52
             Project: Commons Exec
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: > uname -srm
HP-UX B.11.23 ia64

            Reporter: Nickolay Martinov
            Priority: Minor


ping command on HP-UX does not have -c option instead -n is used.
> ping
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]]
As a results tests that use ping command fail.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (EXEC-52) Tests fail on HP-UX

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/EXEC-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved EXEC-52.
----------------------

    Resolution: Fixed
      Assignee:     (was: Siegfried Goeschl)

Thanks, patch applied

> Tests fail on HP-UX
> -------------------
>
>                 Key: EXEC-52
>                 URL: https://issues.apache.org/jira/browse/EXEC-52
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: > uname -srm
> HP-UX B.11.23 ia64
>            Reporter: Nickolay Martinov
>            Priority: Minor
>              Labels: patch, test
>         Attachments: commons-exec-tests-fix.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> ping command on HP-UX does not have -c option instead -n is used.
> > ping
> 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]]
> As a results tests that use ping command fail.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (EXEC-52) Tests fail on HP-UX

Posted by "Nickolay Martinov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/EXEC-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nickolay Martinov updated EXEC-52:
----------------------------------

    Attachment: commons-exec-tests-fix.patch

Patch to fix tests on HP-UX. Tested on windows, linux, hp-ux.

> Tests fail on HP-UX
> -------------------
>
>                 Key: EXEC-52
>                 URL: https://issues.apache.org/jira/browse/EXEC-52
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: > uname -srm
> HP-UX B.11.23 ia64
>            Reporter: Nickolay Martinov
>            Priority: Minor
>              Labels: patch, test
>         Attachments: commons-exec-tests-fix.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> ping command on HP-UX does not have -c option instead -n is used.
> > ping
> 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]]
> As a results tests that use ping command fail.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (EXEC-52) Tests fail on HP-UX

Posted by "Siegfried Goeschl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/EXEC-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992730#comment-12992730 ] 

Siegfried Goeschl commented on EXEC-52:
---------------------------------------

I find it amazing that even a ping command potentially breaks a test when you use one single option ... :-)

> Tests fail on HP-UX
> -------------------
>
>                 Key: EXEC-52
>                 URL: https://issues.apache.org/jira/browse/EXEC-52
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: > uname -srm
> HP-UX B.11.23 ia64
>            Reporter: Nickolay Martinov
>            Priority: Minor
>              Labels: patch, test
>         Attachments: commons-exec-tests-fix.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> ping command on HP-UX does not have -c option instead -n is used.
> > ping
> 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]]
> As a results tests that use ping command fail.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (EXEC-52) Tests fail on HP-UX

Posted by "Sebb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/EXEC-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990070#comment-12990070 ] 

Sebb commented on EXEC-52:
--------------------------

Does HPU-UX really require the -n option to appear *after* the host and packet size?
Weird if true.

If not, it would be clearer to have the -n in the same position as the -c.

> Tests fail on HP-UX
> -------------------
>
>                 Key: EXEC-52
>                 URL: https://issues.apache.org/jira/browse/EXEC-52
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: > uname -srm
> HP-UX B.11.23 ia64
>            Reporter: Nickolay Martinov
>            Priority: Minor
>              Labels: patch, test
>         Attachments: commons-exec-tests-fix.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> ping command on HP-UX does not have -c option instead -n is used.
> > ping
> 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]]
> As a results tests that use ping command fail.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (EXEC-52) Tests fail on HP-UX

Posted by "Nickolay Martinov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/EXEC-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999768#comment-12999768 ] 

Nickolay Martinov commented on EXEC-52:
---------------------------------------

Yes, i confirm that order of options is important:

$ ping localhost -n 3
PING localhost.xxx: 64 byte packets
64 bytes from 127.0.0.1: icmp_seq=0. time=0. ms
64 bytes from 127.0.0.1: icmp_seq=1. time=0. ms
64 bytes from 127.0.0.1: icmp_seq=2. time=0. ms

----localhost.xxx PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0

$ ping -n 3 localhost
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]]

> Tests fail on HP-UX
> -------------------
>
>                 Key: EXEC-52
>                 URL: https://issues.apache.org/jira/browse/EXEC-52
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: > uname -srm
> HP-UX B.11.23 ia64
>            Reporter: Nickolay Martinov
>            Assignee: Siegfried Goeschl
>            Priority: Minor
>              Labels: patch, test
>         Attachments: commons-exec-tests-fix.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> ping command on HP-UX does not have -c option instead -n is used.
> > ping
> 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]]
> As a results tests that use ping command fail.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira