[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not sure if it could be considered as a bug, concern the tests suite
From: |
gmail |
Subject: |
Re: Not sure if it could be considered as a bug, concern the tests suite, let you see |
Date: |
Wed, 30 Mar 2011 21:39:22 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
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 :
address@hidden # cd gnutls-2.12.0_build2
address@hidden # rm /bin/sh
address@hidden # ln -s /5bin/sh /bin/sh
address@hidden # mv /bin/bash /root/borg
address@hidden # mv /bin/ksh /root/borg2
address@hidden # sh
address@hidden \W]\$ ../gnutls-2.12.0/configure
...
address@hidden \W]\$ make
...
address@hidden \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
address@hidden \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
- Not sure if it could be considered as a bug, concern the tests suite, let you see, gmail, 2011/03/27
- Re: Not sure if it could be considered as a bug, concern the tests suite, let you see, Nikos Mavrogiannopoulos, 2011/03/28
- Re: Not sure if it could be considered as a bug, concern the tests suite, let you see, gmail, 2011/03/28
- Re: Not sure if it could be considered as a bug, concern the tests suite, let you see, Nikos Mavrogiannopoulos, 2011/03/29
- Re: Not sure if it could be considered as a bug, concern the tests suite, let you see, gmail, 2011/03/29
- Re: Not sure if it could be considered as a bug, concern the tests suite, let you see, Nikos Mavrogiannopoulos, 2011/03/30
- Re: Not sure if it could be considered as a bug, concern the tests suite, let you see,
gmail <=