summaryrefslogtreecommitdiff
path: root/src/test-login.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-26 23:09:09 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-26 23:09:09 +0200
commitadd30678a1bf284ecd79438d219c45ca7a1c9f51 (patch)
tree9982db1d6503146e4e782264b5063ddb2d0060a8 /src/test-login.c
parent64559e8b4e81897bab3659aea27791467a579566 (diff)
sd-login: add new call sd_seat_can_multi_session()
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);