add testcases for xdshbak
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b02b16caab
commit
359ed0f565
27
xCAT-test/autotest/testcase/xdshbak/cases0
Normal file
27
xCAT-test/autotest/testcase/xdshbak/cases0
Normal file
@ -0,0 +1,27 @@
|
||||
start:xdshbak_h
|
||||
cmd:xdshbak -h
|
||||
check:rc==0
|
||||
check:output=~Usage
|
||||
end
|
||||
|
||||
start:xdshbak_display
|
||||
cmd:xdsh $$CN cat /etc/hosts | xdshbak
|
||||
check:rc==0
|
||||
check:output=~HOST:$$CN
|
||||
end
|
||||
|
||||
start:xdshbak_c
|
||||
cmd:xdsh $$CN pwd |xdshbak -c
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
start:xdshbak_q
|
||||
cmd:xdsh $$CN ls / |xdshbak -q
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
start:xdshbak_x
|
||||
cmd:xdsh $$CN cat /etc/passwd|xdshbak -c
|
||||
check:rc==0
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user