From ba0a01afba3bc2dcd0d4c367cd021edc8cd3f6a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 24 Jun 2016 12:29:08 +0200 Subject: [PATCH] tests: fix closing xterm window sh -s option in dash prevent shell to terminate after command from -c ends. So remove this option. --- tests/vm_qrexec_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vm_qrexec_gui.py b/tests/vm_qrexec_gui.py index d8ed9965..52feae79 100644 --- a/tests/vm_qrexec_gui.py +++ b/tests/vm_qrexec_gui.py @@ -1057,8 +1057,8 @@ class TC_20_DispVMMixin(qubes.tests.SystemTestsMixin): try: window_title = 'user@%s' % (dispvm.template.name + "-dvm") p.stdin.write("xterm -e " - "\"sh -s -c 'echo \\\"\033]0;{}\007\\\";read x;'\"\n". - format(window_title)) + "\"sh -c 'echo \\\"\033]0;{}\007\\\";read x;'\"\n". + format(window_title)) self.wait_for_window(window_title) time.sleep(0.5)