ci: fix vsh_envbang_test.v

pull/13261/head
Delyan Angelov 2022-01-23 00:22:34 +02:00
parent 22c21e62a1
commit 86930873ac
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ println('hello')
println(os.args) println(os.args)
") ? ") ?
os.chmod(rnd_vsh_script_path, 0o700) ? os.chmod(rnd_vsh_script_path, 0o700) ?
res := os.execute('"$rnd_vsh_script_path" abc 123 -option') res := os.execute('${os.quoted_path(rnd_vsh_script_path)} abc 123 -option')
assert res.exit_code == 0 assert res.exit_code == 0
lines := res.output.split_into_lines() lines := res.output.split_into_lines()
assert lines[0] == 'hello' assert lines[0] == 'hello'