tests: fix closing xterm window

sh -s option in dash prevent shell to terminate after command from -c
ends. So remove this option.
This commit is contained in:
Marek Marczykowski-Górecki 2016-06-24 12:29:08 +02:00
parent 3cb717dced
commit ba0a01afba
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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)