From 164002f8d0dfeeaf85df7be6fa45176efb923e0f Mon Sep 17 00:00:00 2001 From: Weihua Hu Date: Tue, 19 Feb 2019 18:01:18 +0800 Subject: [PATCH] refine test case run_command_with_XCATBYPASS for task #603 (#6010) * refine test case run_command_with_XCATBYPASS for task #603 --- xCAT-test/autotest/testcase/xcatd/case0 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-test/autotest/testcase/xcatd/case0 b/xCAT-test/autotest/testcase/xcatd/case0 index 8a0e113ce..a9f234c00 100644 --- a/xCAT-test/autotest/testcase/xcatd/case0 +++ b/xCAT-test/autotest/testcase/xcatd/case0 @@ -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