tests: fix TestPassfileNewline
Due to a copy-paste error, we ran the wrong test in the
subprocess.
Thanks @slackner for noticing at
295d432175 (r31690478)
!
This commit is contained in:
parent
295d432175
commit
a55e53c196
|
@ -51,7 +51,7 @@ func TestPassfileNewline(t *testing.T) {
|
||||||
readPassFile("passfile_test_files/newline.txt")
|
readPassFile("passfile_test_files/newline.txt")
|
||||||
return
|
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")
|
cmd.Env = append(os.Environ(), "TEST_SLAVE=1")
|
||||||
err := cmd.Run()
|
err := cmd.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue