summaryrefslogtreecommitdiff
path: root/tests/reverse/main_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-11-10 23:32:51 +0100
committerJakob Unterwurzacher2016-11-10 23:32:51 +0100
commitc03fc46a5150715bf6aee20ce4b89d9704141220 (patch)
treeaa7cb2a5cf9a068f4867702d4846e04cf6da3e02 /tests/reverse/main_test.go
parentd3764b775395faa31afb1db34c5c2814a0e9af09 (diff)
ctlsock: implement EncryptPath for reverse mode, add tests
Diffstat (limited to 'tests/reverse/main_test.go')
-rw-r--r--tests/reverse/main_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/reverse/main_test.go b/tests/reverse/main_test.go
index a2b7eb6..be6016f 100644
--- a/tests/reverse/main_test.go
+++ b/tests/reverse/main_test.go
@@ -9,11 +9,10 @@ import (
)
var dirA, dirB, dirC string
-var x240 string
+var x240 = string(bytes.Repeat([]byte("x"), 240))
var plaintextnames bool
func TestMain(m *testing.M) {
- x240 = string(bytes.Repeat([]byte("x"), 240))
var r int
for _, plaintextnames = range []bool{false, true} {
argsA := []string{"-reverse"}