aboutsummaryrefslogtreecommitdiff
path: root/main_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-09-15 23:59:57 +0200
committerJakob Unterwurzacher2015-09-15 23:59:57 +0200
commit3be2dfdf9dbb6d57105217933fb3ac80d7959202 (patch)
treedc2da9c2c37f6cbca9b9ec84cf6271626fe33275 /main_test.go
parent69b3d53f2192e2fe3def0f120bc96acb480329e8 (diff)
Add "--zerokey" option to simplify testing and benchmarking
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_test.go b/main_test.go
index 9e4ca73..6157e5a 100644
--- a/main_test.go
+++ b/main_test.go
@@ -34,7 +34,7 @@ func TestMain(m *testing.M) {
panic("Could not create cipherDir")
}
- c := exec.Command("./gocryptfs", cipherDir, plainDir)
+ c := exec.Command("./gocryptfs", "--zerokey", cipherDir, plainDir)
c.Stdout = os.Stdout
c.Stderr = os.Stderr
go c.Run()