From 0b8d50247f4d7047500d3b186befbe0a252f36ac Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Mon, 18 Apr 2016 13:09:20 -0400 Subject: [PATCH] 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 --- compare_tarball_diff.sh | 11 ++++------- functions | 1 - 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/compare_tarball_diff.sh b/compare_tarball_diff.sh index 0d57e15..f690cf0 100755 --- a/compare_tarball_diff.sh +++ b/compare_tarball_diff.sh @@ -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/ diff --git a/functions b/functions index 1bd2ca8..d44695c 100644 --- a/functions +++ b/functions @@ -30,7 +30,6 @@ function title { function _cleanup_tmp { - title "Cleaning up" rm -rf $MYTMPDIR return 0 }