summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-12-16 12:33:25 +0100
committerJakob Unterwurzacher2018-12-16 12:33:25 +0100
commita55e53c196be73fbf06cef00c50f10752aaf1275 (patch)
tree42c8c384fe3c7ba6f6f5c93651ea47826a6e16d5 /internal
parent295d432175292dbaef572093d784aab55f5c0b8f (diff)
tests: fix TestPassfileNewline
Due to a copy-paste error, we ran the wrong test in the subprocess. Thanks @slackner for noticing at https://github.com/rfjakob/gocryptfs/commit/295d432175292dbaef572093d784aab55f5c0b8f#r31690478 !
Diffstat (limited to 'internal')
-rw-r--r--internal/readpassword/passfile_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/readpassword/passfile_test.go b/internal/readpassword/passfile_test.go
index 457170b..30f976f 100644
--- a/internal/readpassword/passfile_test.go
+++ b/internal/readpassword/passfile_test.go
@@ -51,7 +51,7 @@ func TestPassfileNewline(t *testing.T) {
readPassFile("passfile_test_files/newline.txt")
return
}
- cmd := exec.Command(os.Args[0], "-test.run=TestPassfileEmpty$")
+ cmd := exec.Command(os.Args[0], "-test.run=TestPassfileNewline$")
cmd.Env = append(os.Environ(), "TEST_SLAVE=1")
err := cmd.Run()
if err != nil {