diff options
author | Jack Lloyd <[email protected]> | 2015-12-20 13:51:28 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-12-20 13:51:28 -0500 |
commit | 22d05ebfdbb409530fb20133cf150fb4c419faac (patch) | |
tree | 33498ae9e833f11cf2c27d15cbfe2ff502143ccd /src/tests/test_rw.cpp | |
parent | 1752f0d522eef9a4a703fccf702b4b026c1c1d01 (diff) |
Add --data-dir option to test command
Understand using '-' on the command line to mean stdin
Fix last few unit tests that wanted to write to the filesystem; removes
outdata directory.
Diffstat (limited to 'src/tests/test_rw.cpp')
-rw-r--r-- | src/tests/test_rw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_rw.cpp b/src/tests/test_rw.cpp index 47cb11706..bee9dfff0 100644 --- a/src/tests/test_rw.cpp +++ b/src/tests/test_rw.cpp @@ -23,7 +23,7 @@ class RW_KAT_Tests : public PK_Signature_Generation_Test public: RW_KAT_Tests() : PK_Signature_Generation_Test( "Rabin-Williams", - Test::data_file("pubkey/rw_sig.vec"), + "pubkey/rw_sig.vec", {"E", "P", "Q", "Msg", "Signature"}, {"Padding"}) {} @@ -47,7 +47,7 @@ class RW_Verify_Tests : public PK_Signature_Verification_Test public: RW_Verify_Tests() : PK_Signature_Verification_Test( "Rabin-Williams", - Test::data_file("pubkey/rw_verify.vec"), + "pubkey/rw_verify.vec", {"E", "N", "Msg", "Signature"}) {} |