未验证 提交 a06914c2 编写于 作者: Q Qianqian Zhu 提交者: GitHub

Merge pull request #1541 from vivianQizhu/new_kernel

guest_test: Allow 'killall x' failed per it sometimes not processed
......@@ -42,5 +42,6 @@
pre_command = "echo 'dd if=/dev/zero of=/home/bigfile bs=1M count=2048 && "
pre_command += "\cp -f /home/{bigfile,bigfile.bak} && "
pre_command += "\rm -f /home/{bigfile,bigfile.bak} && "
pre_command += "killall dhclient && dhclient -v && ifconfig -a' > ${guest_script}"
pre_command += "(! pgrep dhclient || killall dhclient) && "
pre_command += "dhclient -v && ifconfig -a' > ${guest_script}"
post_command = "\rm -f ${guest_script}"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册