aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_modes.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_modes.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_modes.cpp')
-rw-r--r--src/tests/test_modes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_modes.cpp b/src/tests/test_modes.cpp
index cc1645e92..7b6344975 100644
--- a/src/tests/test_modes.cpp
+++ b/src/tests/test_modes.cpp
@@ -18,7 +18,7 @@ class Cipher_Mode_Tests : public Text_Based_Test
{
public:
Cipher_Mode_Tests() :
- Text_Based_Test(Test::data_dir("modes"), {"Key", "Nonce", "In", "Out"})
+ Text_Based_Test("modes", {"Key", "Nonce", "In", "Out"})
{}
Test::Result run_one_test(const std::string& algo, const VarMap& vars) override