xcat-core/xCAT-test/autotest/testcase/xdshbak/cases0
amy0701 359ed0f565 add testcases for xdshbak
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-11 08:34:12 +00:00

28 lines
371 B
Plaintext

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