提交 eb0a8d17 编写于 作者: A Alexey Milovidov

More robust test

上级 b2f44bee
......@@ -24,14 +24,22 @@ function thread2()
export -f thread1;
export -f thread2;
timeout 5 bash -c thread1 2> /dev/null &
timeout 5 bash -c thread1 2> /dev/null &
timeout 5 bash -c thread1 2> /dev/null &
timeout 5 bash -c thread1 2> /dev/null &
timeout 5 bash -c thread2 2> /dev/null &
timeout 5 bash -c thread2 2> /dev/null &
timeout 5 bash -c thread2 2> /dev/null &
timeout 5 bash -c thread2 2> /dev/null &
timeout 15 bash -c thread1 2> /dev/null &
timeout 15 bash -c thread1 2> /dev/null &
timeout 15 bash -c thread1 2> /dev/null &
timeout 15 bash -c thread1 2> /dev/null &
timeout 15 bash -c thread2 2> /dev/null &
timeout 15 bash -c thread2 2> /dev/null &
timeout 15 bash -c thread2 2> /dev/null &
timeout 15 bash -c thread2 2> /dev/null &
timeout 15 bash -c thread1 2> /dev/null &
timeout 15 bash -c thread1 2> /dev/null &
timeout 15 bash -c thread1 2> /dev/null &
timeout 15 bash -c thread1 2> /dev/null &
timeout 15 bash -c thread2 2> /dev/null &
timeout 15 bash -c thread2 2> /dev/null &
timeout 15 bash -c thread2 2> /dev/null &
timeout 15 bash -c thread2 2> /dev/null &
wait
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册