virt.virt_test_utils: run_autotest - 'tar' needs relative paths to strip the leading '/'master
commitc5706d0f736efd781408f760a4aec820b033d89b
authorlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Fri, 8 Jul 2011 18:05:22 +0000 (8 18:05 +0000)
committerlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Fri, 8 Jul 2011 18:05:22 +0000 (8 18:05 +0000)
tree3986b9b0ecccadd42757e1fb90c279fd3d09bb96
parentf8604ec9b3f9a973998d05ec6a71f9b22883f629
virt.virt_test_utils: run_autotest - 'tar' needs relative paths to strip the leading '/'

The tar command must use relative path to strip the leading '/' directories. Without
this patch the kvm autotest's autotest test extracts autotest on guest into the original
location of the autotest on the host. The location might not correspond with the test
location and the test might fail.

Signed-off-by: Lukas Doktor <ldoktor@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5494 592f7852-d20e-0410-864c-8624ca9c26a4
client/virt/virt_test_utils.py