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:
Jakob Unterwurzacher 2018-12-16 12:33:25 +01:00
parent 295d432175
commit a55e53c196

View File

@ -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 {