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:
amy0701 2011-10-11 08:34:12 +00:00
parent b02b16caab
commit 359ed0f565

View 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