summaryrefslogtreecommitdiff
path: root/tests/modules/process/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-09-25 22:36:07 +0800
committerruki <[email protected]>2018-09-25 09:36:45 +0800
commit99cdb886b0756e02520d74a43f201f94eb2150ec (patch)
tree774b18912b5d4f4931f11f1f5c876ac7eec2894b /tests/modules/process/test.lua
parentcebceaaee1a3954ed86f4462f0be01c464a17af8 (diff)
fix tests bug
Diffstat (limited to 'tests/modules/process/test.lua')
-rw-r--r--tests/modules/process/test.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/modules/process/test.lua b/tests/modules/process/test.lua
index 64c975b29..7b5501994 100644
--- a/tests/modules/process/test.lua
+++ b/tests/modules/process/test.lua
@@ -1,9 +1,9 @@
function main()
-- single process test
- local inftimeout=999
- local stdout=os.tmpfile()
- local stderr=os.tmpfile()
+ local inftimeout = 5000
+ local stdout = os.tmpfile()
+ local stderr = os.tmpfile()
for i = 1, 2 do
local pro = process.open("echo -n awd", stdout, stderr)
process.wait(pro, inftimeout)