2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

refine test case run_command_with_XCATBYPASS for task #603 (#6010)

* refine test case run_command_with_XCATBYPASS for task #603
This commit is contained in:
Weihua Hu
2019-02-19 18:01:18 +08:00
committed by Bin Xu
parent 4984f5d1e2
commit 164002f8d0

View File

@ -104,9 +104,11 @@ check:rc==0
cmd:service xcatd stop
check:rc==0
cmd:sleep 3
cmd:ps aux|tee /tmp/run_command_with_XCATBYPASS.log
cmd:awk '{print $11}' /tmp/run_command_with_XCATBYPASS.log|grep -E ^xcatd
check:rc!=0
cmd:rm -rf /tmp/run_command_with_XCATBYPASS.log
cmd:service xcatd status
check:output=~xcatd service|xcatd.service
check:output=~xcatd service is not running|inactive \(dead\)
cmd:tabdump site
check:rc!=0
cmd:XCATBYPASS=YES tabdump site