mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
Also test launching of bootstrap.py
This commit is contained in:
parent
11686b90f7
commit
3bb869f725
@ -158,10 +158,12 @@ copy --exclude */w.* d1
|
|||||||
|
|
||||||
def test_ssh_bootstrap_with_different_launchers(self):
|
def test_ssh_bootstrap_with_different_launchers(self):
|
||||||
for launcher in ('sh', 'bash', 'zsh', 'fish'):
|
for launcher in ('sh', 'bash', 'zsh', 'fish'):
|
||||||
q = shutil.which(launcher)
|
for sh in self.all_possible_sh:
|
||||||
if q:
|
if sh == 'sh' or 'python' in sh:
|
||||||
with self.subTest(launcher=q), tempfile.TemporaryDirectory() as tdir:
|
q = shutil.which(launcher)
|
||||||
self.check_bootstrap('sh', tdir, test_script='env; exit 0', SHELL_INTEGRATION_VALUE='', launcher=q)
|
if q:
|
||||||
|
with self.subTest(sh=sh, launcher=q), tempfile.TemporaryDirectory() as tdir:
|
||||||
|
self.check_bootstrap(sh, tdir, test_script='env; exit 0', SHELL_INTEGRATION_VALUE='', launcher=q)
|
||||||
|
|
||||||
def test_ssh_leading_data(self):
|
def test_ssh_leading_data(self):
|
||||||
script = 'echo "ld:$leading_data"; exit 0'
|
script = 'echo "ld:$leading_data"; exit 0'
|
||||||
|
Loading…
Reference in New Issue
Block a user