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:
parent
22c21e62a1
commit
86930873ac
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user