Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometims, one test case failed. i.e., TrapdoorPermutation Case #81

Open
thucgn opened this issue Aug 26, 2020 · 1 comment
Open

Sometims, one test case failed. i.e., TrapdoorPermutation Case #81

thucgn opened this issue Aug 26, 2020 · 1 comment

Comments

@thucgn
Copy link

thucgn commented Aug 26, 2020

Describe the bug

tests ./ScapiTests

All tests passed (498 assertions in 18 test cases)

tests ./ScapiTests

ScapiTests is a Catch v1.2.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
TrapdoorPermutation
  OpenSSL
-------------------------------------------------------------------------------
/home/gw/install/libscapi-master-dev/tests/tests.cpp:817
...............................................................................

/home/gw/install/libscapi-master-dev/tests/tests.cpp:834: FAILED:
  REQUIRE( re_inv->getElement() == re_src->getElement() )
with expansion:
  0 == 27
with message:
  re_enc->getElement() := 48

===============================================================================
test cases:  18 |  17 passed | 1 failed
assertions: 498 | 497 passed | 1 failed


**Machine details:**
 - ubuntu 18.04
 - gcc 7.5 
- boost 1.71.0

@rscmendes
Copy link

Also got this problem with ubuntu 18.04, gcc 7.5 and boost 1.65.1. Thanks for telling "Sometimes", I ended up repeating the build until the test passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants