We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c715d commit b3487e3Copy full SHA for b3487e3
login1/dbus_test.go
@@ -53,7 +53,7 @@ func TestListSessions(t *testing.T) {
53
t.Fatalf("expected uid '%d' but got '%s'", s.UID, lookup.Uid)
54
}
55
56
- validPath := regexp.MustCompile(`/org/freedesktop/login1/session/_[0-9]+`)
+ validPath := regexp.MustCompile(`/org/freedesktop/login1/session/[_c][0-9]+`)
57
if !validPath.MatchString(fmt.Sprint(s.Path)) {
58
t.Fatalf("invalid session path: %s", s.Path)
59
0 commit comments