aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index be83ff314b..d739400c71 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -257,7 +257,7 @@ local function which(exe)
end
end
-local function repeated_popen_r(...)
+local function repeated_read_cmd(...)
for _ = 1, 10 do
local stream = popen_r(...)
local ret = stream:read('*a')
@@ -286,5 +286,5 @@ return {
argss_to_cmd = argss_to_cmd,
popen_r = popen_r,
popen_w = popen_w,
- repeated_popen_r = repeated_popen_r,
+ repeated_read_cmd = repeated_read_cmd,
}