Not sure if it could be considered as a bug, concern the tests suite, let you see
gmail
arbogast.cedric at gmail.com
Wed Mar 30 21:39:22 CEST 2011
Hello,
I was a little tired yesterday and launch the tests suite from the wrong
build directory, the one which was configured with bash initialy and not
the new configured with sh...
Therefore, the makefile was running bash configured libtool with bourne
shell original, which explain the unexpected results.
I then relaunch the tests suite in the good build directory with sh and
all the tests (and libtool) work correctly :
[root at pompomgalli] # cd gnutls-2.12.0_build2
[root at pompomgalli] # rm /bin/sh
[root at pompomgalli] # ln -s /5bin/sh /bin/sh
[root at pompomgalli] # mv /bin/bash /root/borg
[root at pompomgalli] # mv /bin/ksh /root/borg2
[root at pompomgalli] # sh
[\u@\h \W]\$ ../gnutls-2.12.0/configure
...
[\u@\h \W]\$ make
...
[\u@\h \W]\$ make check
make[3]: Leaving directory
`/usr/src/gnutls-2.12.0_build2/tests/safe-renegotiation'
make[2]: Leaving directory
`/usr/src/gnutls-2.12.0_build2/tests/safe-renegotiation'
Making check in dsa
make[2]: Entering directory `/usr/src/gnutls-2.12.0_build2/tests/dsa'
make testdsa
make[3]: Entering directory `/usr/src/gnutls-2.12.0_build2/tests/dsa'
make[3]: Nothing to be done for
`../../../gnutls-2.12.0/tests/dsa/testdsa'.
make[3]: Leaving directory `/usr/src/gnutls-2.12.0_build2/tests/dsa'
make check-TESTS
make[3]: Entering directory `/usr/src/gnutls-2.12.0_build2/tests/dsa'
Checking various DSA key sizes
Checking DSA-1024 with TLS 1.0
Checking server DSA-1024 with client DSA-1024 and TLS 1.0
Processed 1 client certificates...
Processed 1 client X.509 certificates...
Checking server DSA-1024 with client DSA-2048 and TLS 1.0
Checking server DSA-1024 with client DSA-3072 and TLS 1.0
Checking DSA-1024 with TLS 1.2
Checking server DSA-1024 with client DSA-1024 and TLS 1.2
Processed 1 client certificates...
Processed 1 client X.509 certificates...
Checking server DSA-1024 with client DSA-2048 and TLS 1.2
Processed 1 client certificates...
Processed 1 client X.509 certificates...
Checking server DSA-1024 with client DSA-3072 and TLS 1.2
Processed 1 client certificates...
Processed 1 client X.509 certificates...
Checking DSA-2048 with TLS 1.0
Checking DSA-2048 with TLS 1.2
Checking DSA-3072 with TLS 1.0
Checking DSA-3072 with TLS 1.2
PASS: testdsa
=============
1 test passed
=============
make[3]: Leaving directory `/usr/src/gnutls-2.12.0_build2/tests/dsa'
make[2]: Leaving directory `/usr/src/gnutls-2.12.0_build2/tests/dsa'
Making check in openpgp-certs
make[2]: Entering directory
`/usr/src/gnutls-2.12.0_build2/tests/openpgp-certs'
make testselfsigs testcerts
make[3]: Entering directory
`/usr/src/gnutls-2.12.0_build2/tests/openpgp-certs'
make[3]: Nothing to be done for
`../../../gnutls-2.12.0/tests/openpgp-certs/testselfsigs'.
make[3]: Nothing to be done for
`../../../gnutls-2.12.0/tests/openpgp-certs/testcerts'.
make[3]: Leaving directory
`/usr/src/gnutls-2.12.0_build2/tests/openpgp-certs'
make check-TESTS
make[3]: Entering directory
`/usr/src/gnutls-2.12.0_build2/tests/openpgp-certs'
Checking OpenPGP certificate self verification
PASS: testselfsigs
=============
1 test passed
=============
make[3]: Leaving directory
`/usr/src/gnutls-2.12.0_build2/tests/openpgp-certs'
make[2]: Leaving directory
`/usr/src/gnutls-2.12.0_build2/tests/openpgp-certs'
make[1]: Leaving directory `/usr/src/gnutls-2.12.0_build2/tests'
make[1]: Entering directory `/usr/src/gnutls-2.12.0_build2'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/usr/src/gnutls-2.12.0_build2'
GEN public-submodule-commit
[\u@\h \W]\$
Then it seems almost all even if all the tests are bourne shell original
compliant, and there's no trouble with libtool.
Regards, Cedric.
Le 30/03/2011 15:52, Nikos Mavrogiannopoulos a écrit :
> On 03/30/2011 01:47 AM, gmail wrote:
>
>> Actually, the gnutls-2.12.0_build/lib/libtool script does not work
>> with the bourne shell due to syntax forms like the one used in this
>> function :
>>
>> func_arith ()
>> {
>> func_arith_result=$(( $* ))
>> }
>>
>> Then i can't launch directly all the tests suite. I can however test
>> each script one by one. Do you think it's better to adapt the tools
>> scripts first or to check the test scripts first ?
> You might want to report to the libtool people
> (at http://www.gnu.org/software/libtool/) about the libtool. Even if
> we fix it in gnutls, it will be undone once we upgrade to the next
> libtool.
>
> regards,
> Nikos
More information about the Gnutls-devel
mailing list