2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-01 10:25:33 +00:00

Merge pull request #3746 from neo954/testcase-xdcp

Fix test case xdcp_nonroot_user
This commit is contained in:
Weihua Hu
2017-08-23 16:08:28 +08:00
committed by GitHub

View File

@ -1,7 +1,7 @@
start:xdcp_nonroot_user
cmd:useradd -m xyzzy
check:rc==0
cmd:( cd ~ && tar cf - .xcat .ssh ) | ( cd ~xyzzy && tar xf - )
cmd:bash -c "( cd ~root && tar cf - .xcat .ssh ) | ( cd ~xyzzy && tar xf - )"
check:rc==0
cmd:chown -R xyzzy ~xyzzy/.xcat ~xyzzy/.ssh
check:rc==0