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:
parent
3cb717dced
commit
ba0a01afba
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user