diff options
author | Michal Sekletar <msekleta@redhat.com> | 2022-07-01 12:59:57 +0200 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2022-07-04 14:22:15 +0200 |
commit | 181656fc0faa885d69bc34822b8e9b5de3fdf6bf (patch) | |
tree | f83a284fc7b2a263e650d1014a2e701f55d47a7e /test/test-functions | |
parent | 4e2cfb778b9ed7f22ee98f48f28cf8678d25ad32 (diff) | |
download | systemd-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-functions | 7 |
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() { |