Alon Bar-Lev has uploaded a new change for review.

Change subject: tests: use python to untar as tar of rhel-5.5 does not detect 
end-of-tar correctly
......................................................................

tests: use python to untar as tar of rhel-5.5 does not detect end-of-tar 
correctly

Change-Id: If4fc3d870d9d9a6b3fa72258374335675cc178c2
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M tests/test-bundle.sh
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy refs/changes/08/9608/1

diff --git a/tests/test-bundle.sh b/tests/test-bundle.sh
index 5a32ff2..c16bfad 100755
--- a/tests/test-bundle.sh
+++ b/tests/test-bundle.sh
@@ -10,6 +10,7 @@
 
 make -C "$(dirname $0)/.."  install DESTDIR="${mytmp}" &&
        ( tar -hc -C "${mytmp}"/usr/local/share/ovirt-host-deploy/interface-3 . 
&& cat) | \
-               ssh ${HOST} '( dest=/tmp/xxx && rm -fr "${dest}" && mkdir -p 
"${dest}" && tar -C "${dest}" -x && \
+               ssh ${HOST} '( dest=/tmp/xxx && rm -fr "${dest}" && mkdir -p 
"${dest}" && \
+                       python -c "import sys, tarfile; 
tarfile.open(fileobj=sys.stdin, mode=\"r|\").extractall(path=\"${dest}\")" && \
                        OTOPI_DEBUG=1 "${dest}"/setup 
"DIALOG/customization=bool:True '"$*"'" )'
 echo "exit $?"


--
To view, visit http://gerrit.ovirt.org/9608
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If4fc3d870d9d9a6b3fa72258374335675cc178c2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to