summaryrefslogtreecommitdiff
path: root/tests/plugins/show/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/show/test.lua')
-rw-r--r--tests/plugins/show/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/show/test.lua b/tests/plugins/show/test.lua
index d7a59727a..d7cb35953 100644
--- a/tests/plugins/show/test.lua
+++ b/tests/plugins/show/test.lua
@@ -17,7 +17,7 @@ function test_list_targets_plain_format(t)
end
function test_list_targets_unsupported_format(t)
- local ok = try { function () os.execv("xmake", {"show", "-l", "targets", "--format=dot"}) end }
+ local ok = try { function () os.iorunv("xmake", {"show", "-l", "targets", "--format=dot"}) end }
t:require(not ok)
end