Add ! to env var serialization test

This commit is contained in:
Kovid Goyal 2022-09-10 07:21:15 +05:30
parent 89570d3b52
commit 6f147544d2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -149,7 +149,7 @@ def touch(p):
self.ae(len(glob.glob(f'{remote_home}/{tname}/*/xterm-kitty')), 2)
def test_ssh_env_vars(self):
tset = '$A-$(echo no)-`echo no2` "something\nelse"'
tset = '$A-$(echo no)-`echo no2` !Q5 "something\nelse"'
for sh in self.all_possible_sh:
with self.subTest(sh=sh), tempfile.TemporaryDirectory() as tdir:
os.mkdir(os.path.join(tdir, 'cwd'))