activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject activemq-artemis git commit: Modifying script to use tar instead of unzip
Date Thu, 09 Jun 2016 18:07:00 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 0c73bbc96 -> 4fd27d97d


Modifying script to use tar instead of unzip

it's more compatible with linux not requiring special packages installed


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/4fd27d97
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/4fd27d97
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/4fd27d97

Branch: refs/heads/master
Commit: 4fd27d97d78a4d4b5144e17f24321906c1160cbe
Parents: 0c73bbc
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Thu Jun 9 13:21:28 2016 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Thu Jun 9 13:22:06 2016 -0400

----------------------------------------------------------------------
 artemis-distribution/src/test/scripts/validate-spaces.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/4fd27d97/artemis-distribution/src/test/scripts/validate-spaces.sh
----------------------------------------------------------------------
diff --git a/artemis-distribution/src/test/scripts/validate-spaces.sh b/artemis-distribution/src/test/scripts/validate-spaces.sh
index 8381230..16f0da3 100755
--- a/artemis-distribution/src/test/scripts/validate-spaces.sh
+++ b/artemis-distribution/src/test/scripts/validate-spaces.sh
@@ -18,7 +18,7 @@
 
 # This script will validate the distribution works with folders with spaces on Linux machines
 
-rm -rf target/with\ space
+rm -rf target
 mkdir target
 mkdir target/with\ space
 
@@ -29,9 +29,9 @@ set -e
 export CURRENT_DIR=`pwd`
 
 if [ $# -eq 0 ]; then
-    export LOCAL_USED=`ls ../../../target/apache-artemis-*bin.zip`
+    export LOCAL_USED=`ls ../../../target/apache-artemis-*bin.tar.gz`
     echo Unziping $LOCAL_USED
-    unzip $LOCAL_USED -d "./target/with space"
+    tar -zxf $LOCAL_USED -C "./target/with space"
     cd "./target/with space"
     export ARTEMIS_HOME="`pwd`/`ls`"
     echo home is $ARTEMIS_HOME
@@ -67,7 +67,7 @@ sleep 5
 ./artemis stop
 
 sleep 5
-./artemis data print
+./artemis data print > data.log
 ./artemis data compact
 ./artemis data exp
 


Mime
View raw message