diff --git a/my-service b/test-services/permit-service similarity index 100% rename from my-service rename to test-services/permit-service diff --git a/transaction_test.go b/transaction_test.go index c56edf2..2d24a37 100644 --- a/transaction_test.go +++ b/transaction_test.go @@ -176,6 +176,7 @@ func TestPAM_ConfDir(t *testing.T) { Password: "wrongsecret", } tx, err := StartConfDir("my-service", "test", c, ".") + tx, err := StartConfDir("permit-service", u.Username, c, "test-services") if !CheckPamHasStartConfdir() { if err == nil { t.Fatalf("start should have errored out as pam_start_confdir is not available: %v", err)