Problem with test

Brad Hards bradh at frogmouth.net
Wed Aug 23 08:59:05 CEST 2006


On Tuesday 22 August 2006 23:41, Werner Koch wrote:
> On Tue, 22 Aug 2006 12:54, Brad Hards said:
> > I don't see this problem on an ia32 box. I can't see how, but possibly it
> > is a 64-bit problem?
>
> Please run it as:
>
>   $ cd tests
>   $ ./t-mpi-bit --verbose
Sorry, should have realised that.

t-mpi-bit: checking that set_bit does only set one bit
t-mpi-bit: r=0000000000000000000000000000000000000000000000000000000000000000000000
t-mpi-bit: checking that set_highbit does only set one bit
t-mpi-bit: r=0000000000000000000000000000000000000000000000000000000000000000000000
t-mpi-bit: checking that rshift works as expected (pass 0)
t-mpi-bit: got =000110110000111101010011110001001101011011001010000100100111101111111111
t-mpi-bit: want=000110110000111101010011110001001101011011001010000100100111101111101111
t-mpi-bit: test_rshift: rshift by 0 failed
t-mpi-bit: checking that rshift works as expected (pass 1)
t-mpi-bit: got =100110111000011111000100000011110100111101001000000001000001110010011011
t-mpi-bit: want=100110111000011111000100000011110100111101001000000001000001110000010011
t-mpi-bit: test_rshift: rshift by 0 failed
t-mpi-bit: checking that rshift works as expected (pass 2)
t-mpi-bit: got =111011000001100010101001111110001011000101010100010011111111010011111110
t-mpi-bit: want=111011000001100010101001111110001011000101010100010011111111010010010110
t-mpi-bit: test_rshift: rshift by 0 failed
t-mpi-bit: checking that rshift works as expected (pass 3)
t-mpi-bit: got =001001111011001111000100101001000000110101000111000111101101001011111111
t-mpi-bit: want=001001111011001111000100101001000000110101000111000111101101001011011100
t-mpi-bit: test_rshift: rshift by 0 failed
t-mpi-bit: checking that rshift works as expected (pass 4)
t-mpi-bit: got =101000010101010100010111010001100000111110101001101100011110110011111011
t-mpi-bit: want=101000010101010100010111010001100000111110101001101100011110110001111011
t-mpi-bit: test_rshift: rshift by 0 failed
t-mpi-bit: All tests completed. Errors: 5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20060823/267da4da/attachment.pgp


More information about the Gcrypt-devel mailing list