1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix vsh_envbang_test.v

This commit is contained in:
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

View File

@ -21,7 +21,7 @@ println('hello')
println(os.args)
") ?
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
lines := res.output.split_into_lines()
assert lines[0] == 'hello'