summaryrefslogtreecommitdiff
path: root/src/test-login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-login.c')
-rw-r--r--src/test-login.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test-login.c b/src/test-login.c
index 21cd3a1900..9cd9c27a58 100644
--- a/src/test-login.c
+++ b/src/test-login.c
@@ -71,6 +71,10 @@ int main(int argc, char* argv[]) {
assert_se(sd_session_get_seat(session, &seat) >= 0);
printf("seat = %s\n", seat);
+ r = sd_seat_can_multi_session(seat);
+ assert_se(r >= 0);
+ printf("can do multi session = %s\n", yes_no(r));
+
assert_se(sd_uid_get_state(u, &state) >= 0);
printf("state = %s\n", state);