RPM Community Forums

Mailing List Message of <popt-devel>

test1-55 failes on Solaris

From: Dagobert Michelsen <dam@opencsw.org>
Date: Fri 25 Sep 2009 - 09:34:11 CEST
Message-Id: <3086EEAA-2D72-4F28-95B0-59BB10504B0A@opencsw.org>
Hi,

I am currently trying to build libpopt 1.15 on Solaris 8 with
Sun Studio 11. After successfull compilation I have a failing
test:

> Running test test1 - 55.
> Test "test1 --usage" failed with: "Usage: test1 [-I?] [-c|-- 
> cb2=STRING] [--arg1] [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG]" != "Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1]  
> [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG]"
> FAIL: testit.sh

Further inspection shows

> + run test1 test1 - 55 Usage: lt-test1 [-I?] [-c|--cb2=STRING] [-- 
> arg1] [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG] --usage
> prog=test1
> + shift
> name=test1 - 55
> + shift
> answer=Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|-- 
> arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG]
> + shift
> + echo Running test test1 - 55.
> Running test test1 - 55.
> + /home/dam/mgar/pkg/libpopt/trunk/work/build-isa-sparcv8/popt-1.15/ 
> test1 --usage
> HOME=/home/dam/mgar/pkg/libpopt/trunk/work/build-isa-sparcv8/popt-1.15
> result=Usage: test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG]
> + [ Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG] != Usage: test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|-- 
> arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG] ]
> + echo Test "test1 --usage" failed with: "Usage: test1 [-I?] [-c|-- 
> cb2=STRING] [--arg1] [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG]" != "Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1]  
> [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG]"
> Test "test1 --usage" failed with: "Usage: test1 [-I?] [-c|-- 
> cb2=STRING] [--arg1] [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG]" != "Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1]  
> [-2|--arg2=ARG]
>         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
>         [-i|--int=INT] [-l|--long=LONG] [-L|--longlong=LONGLONG]
>         [-f|--float=FLOAT] [-d|--double=DOUBLE] [--randint=INT]
>         [--randlong=LONG] [--randlonglong=LONGLONG] [--argv] [-- 
> bitset]
>         [--bitclr] [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|-- 
> inc]
>         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [-- 
> simple=ARG]"
> + exit 2

To me it looks like the test doesn't have been adjusted. Would you  
consider
it safe to release the library anyway?


Best regards

   -- Dago
Received on Fri Sep 25 12:06:11 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.