From: <lu...@us...> - 2008-06-27 05:24:00
|
Revision: 202 http://s3tools.svn.sourceforge.net/s3tools/?rev=202&view=rev Author: ludvigm Date: 2008-06-26 22:23:59 -0700 (Thu, 26 Jun 2008) Log Message: ----------- Improved run-tests.sh a little. Modified Paths: -------------- s3cmd/trunk/run-tests.sh Modified: s3cmd/trunk/run-tests.sh =================================================================== --- s3cmd/trunk/run-tests.sh 2008-06-27 05:23:37 UTC (rev 201) +++ s3cmd/trunk/run-tests.sh 2008-06-27 05:23:59 UTC (rev 202) @@ -10,9 +10,11 @@ diff s3cmd s3cmd.get rm -fv s3cmd.get +set +x echo; echo echo "=== Now running 'sync' tests ===" echo; echo +set -x VER=$(./s3cmd --version | cut -d\ -f3) tar xvfz dist/s3cmd-${VER}.tar.gz @@ -21,6 +23,9 @@ echo "Added file" > s3cmd-${VER}/added.file rm -f s3cmd-${VER}/file.to.remove ./s3cmd sync --delete s3cmd-${VER} s3://s3cmd-autotest/sync-test +rm -f s3cmd-${VER}/S3/PkgInfo.py +rm -f s3cmd-${VER}/s3cmd +./s3cmd sync --delete --exclude "/s3cmd-${VER}/S3/*" s3://s3cmd-autotest/sync-test s3cmd-${VER} rm -rf s3cmd-${VER} ./s3cmd rb s3://s3cmd-autotest/ || true @@ -33,6 +38,8 @@ ./s3cmd rb s3://s3cmd-autotest/ +set +x + echo; echo echo; echo echo "=== All good. Ready for release :-) ===" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |