summaryrefslogtreecommitdiff
path: root/test/test-functions
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2022-07-01 12:59:57 +0200
committerMichal Sekletar <msekleta@redhat.com>2022-07-04 14:22:15 +0200
commit181656fc0faa885d69bc34822b8e9b5de3fdf6bf (patch)
treef83a284fc7b2a263e650d1014a2e701f55d47a7e /test/test-functions
parent4e2cfb778b9ed7f22ee98f48f28cf8678d25ad32 (diff)
downloadsystemd-181656fc0faa885d69bc34822b8e9b5de3fdf6bf.tar.gz
tests: verify that Lock D-Bus signal is sent when IdleAction=lock
Diffstat (limited to 'test/test-functions')
-rw-r--r--test/test-functions7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions
index 57b6017dc4..e60a654af0 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -1736,6 +1736,13 @@ install_basic_tools() {
image_install -o ldconfig.real
# for TEST-35-LOGIN
image_install -o evemu-device evemu-event
+ if command -v expect >/dev/null && command -v tclsh >/dev/null ; then
+ # shellcheck disable=SC2016
+ version="$(tclsh <<< 'puts $tcl_version')"
+
+ image_install expect
+ inst_recursive /usr/lib64/tcl"$version" /usr/share/tcl"$version"
+ fi
}
install_debug_tools() {