make compare_tarball_diff.sh quieter

Silence some of the output so the total length of the output log is
short enough to fit in a pastebin.

Change-Id: Ie552472b68f1bce64be03aaf28d46fbd45bcdf7c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2016-04-18 13:09:20 -04:00
parent 865119da13
commit 0b8d50247f
2 changed files with 4 additions and 8 deletions

View File

@ -36,14 +36,13 @@ PROJECT=$(basename $REPO)
setup_temp_space compare-tarball-diff
title "Testing $PROJECT $VERSION from $REPO"
title "$REPO $VERSION"
cd $MYTMPDIR
clone_repo $REPO || error "clone failed"
clone_repo $REPO >/dev/null 2>&1 || error "clone failed"
cd $REPO
echo "Checking out $VERSION"
git checkout $VERSION || error "could not checkout $VERSION"
git checkout $VERSION >/dev/null 2>&1 || error "could not checkout $VERSION"
python setup.py sdist > /dev/null 2>&1 || error "sdist failed"
@ -54,11 +53,9 @@ mkdir local/
tar -C local/ -xzf $DIST_FILE
URL="http://tarballs.openstack.org/$PROJECT/$DIST_FILE"
echo "Downloading and extracting $URL"
wget -q -O remote.tar.gz $URL || error "could not download existing tarball"
wget -q -O remote.tar.gz $URL || error "could not download $URL"
mkdir remote/
tar -C remote/ -xzf remote.tar.gz
echo "Comparing"
diff -Bbwurd local/ remote/

View File

@ -30,7 +30,6 @@ function title {
function _cleanup_tmp {
title "Cleaning up"
rm -rf $MYTMPDIR
return 0
}