summaryrefslogtreecommitdiffstats
path: root/debian/tests/logind
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/tests/logind6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/tests/logind b/debian/tests/logind
index eea4005..a53910c 100755
--- a/debian/tests/logind
+++ b/debian/tests/logind
@@ -202,6 +202,12 @@ EOF
# main
#
+# Make sure we are running with the logind package under test instead of the one
+# from the base distro
+if [ -z "$AUTOPKGTEST_REBOOT_MARK" ]; then
+ /tmp/autopkgtest-reboot 1
+fi
+
test_started
test_properties
test_in_logind_session