From 8c89e2da0ca3a2c901bfe067904b623a4da6f6a7 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 8 Oct 2016 19:22:59 +0200 Subject: tests: invert ResetTmpDir argument As reverse also does not want a diriv file, the "plaintextNames" argument became a misnomer. --- tests/matrix/matrix_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/matrix/matrix_test.go') diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index 77d9dc7..7b636ad 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -65,8 +65,7 @@ func TestMain(m *testing.M) { j, _ := json.Marshal(testcase) fmt.Printf("matrix: testcase = %s\n", string(j)) } - testcase.Plaintextnames = testcase.Plaintextnames - test_helpers.ResetTmpDir(testcase.Plaintextnames) + test_helpers.ResetTmpDir(!testcase.Plaintextnames) opts := []string{"-zerokey"} opts = append(opts, fmt.Sprintf("-openssl=%v", testcase.Openssl)) opts = append(opts, fmt.Sprintf("-plaintextnames=%v", testcase.Plaintextnames)) -- cgit v1.2.3