2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 04:10:46 +00:00
Files
xcat-core/xCAT-test/autotest/testcase/pping/cases0
robin2008 3745bac26d Update the testcase to cover the changes in #5119
using regular expression to cover the error/warn message which contains the server name
2018-05-26 11:44:44 +08:00

29 lines
403 B
Plaintext

start:pping_h
cmd:pping -h
check:rc==0
check:output=~Usage
cmd:pping --help
check:rc==0
end
start:pping_v
cmd:pping -v
check:rc==0
check:output=~Version
cmd:pping -v
check:rc==0
check:output=~Version
end
start:pping_node
cmd:pping $$CN
check:rc==0
check:output=~ping|noping
end
start:pping_invalidnode
cmd:pping test
check:rc!=0
check:output=~Warning: (\[.*?\]: )?Invalid nodes in noderange:test
end