aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rw.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-20 13:51:28 -0500
committerJack Lloyd <[email protected]>2015-12-20 13:51:28 -0500
commit22d05ebfdbb409530fb20133cf150fb4c419faac (patch)
tree33498ae9e833f11cf2c27d15cbfe2ff502143ccd /src/tests/test_rw.cpp
parent1752f0d522eef9a4a703fccf702b4b026c1c1d01 (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.cpp4
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"})
{}