tests: fix stdin password change test
It was actually testing extpass a second time.
This commit is contained in:
parent
ec4a626316
commit
ca3cc5eca3
|
@ -68,7 +68,7 @@ func testPasswd(t *testing.T, dir string, extraArgs ...string) {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
// Change password using stdin
|
// Change password using stdin
|
||||||
args = []string{"-q", "-passwd", "-extpass", "echo test"}
|
args = []string{"-q", "-passwd"}
|
||||||
args = append(args, extraArgs...)
|
args = append(args, extraArgs...)
|
||||||
args = append(args, dir)
|
args = append(args, dir)
|
||||||
cmd = exec.Command(test_helpers.GocryptfsBinary, args...)
|
cmd = exec.Command(test_helpers.GocryptfsBinary, args...)
|
||||||
|
|
Loading…
Reference in New Issue