提交 75fae053 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

fix xvfb counting script

上级 c02d01f3
......@@ -12,6 +12,6 @@ const docker = !!process.env.WECHATY_DOCKER
})
docker && test('Docker smoking test', function(t) {
const n = execSync('ps | grep Xvfb | wc -l')
const n = execSync('ps a | grep Xvfb | grep -v grep | wc -l').toString()
t.is(n, 1, 'should has Xvfb started')
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册