aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xsession-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xsession-expected.txt')
-rw-r--r--infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xsession-expected.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xsession-expected.txt b/infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xsession-expected.txt
new file mode 100644
index 000000000000..c11b7c33048a
--- /dev/null
+++ b/infra/libkookie/home-manager/tests/modules/misc/xsession/basic-xsession-expected.txt
@@ -0,0 +1,18 @@
+if [ -z "$HM_XPROFILE_SOURCED" ]; then
+ . ~/.xprofile
+fi
+unset HM_XPROFILE_SOURCED
+
+systemctl --user start hm-graphical-session.target
+
+init extra commands
+
+window manager command
+
+systemctl --user stop graphical-session.target
+systemctl --user stop graphical-session-pre.target
+
+# Wait until the units actually stop.
+while [ -n "$(systemctl --user --no-legend --state=deactivating list-units)" ]; do
+ sleep 0.5
+done