From: Jelte Jansen Date: Wed, 14 Feb 2007 17:58:01 +0000 (+0000) Subject: copy tarball of current checkout if svn is not set for remote test target X-Git-Tag: release-1.2.0~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab4bb32fed2f42b1aeda1f2fe8f0e9ff6dd12dbf;p=thirdparty%2Fldns.git copy tarball of current checkout if svn is not set for remote test target fix test on lustra when environment was not set --- diff --git a/test/01-compile.tpkg b/test/01-compile.tpkg index 3928c7b2..227c375f 100644 Binary files a/test/01-compile.tpkg and b/test/01-compile.tpkg differ diff --git a/test/testbed/testbed.sh b/test/testbed/testbed.sh index 0d51fb70..1e64aad6 100755 --- a/test/testbed/testbed.sh +++ b/test/testbed/testbed.sh @@ -22,7 +22,7 @@ fi function echossh() # like ssh but echos. { - echo "> ssh $*" + echo "ssh $*" ssh $* } @@ -35,14 +35,19 @@ function dotest() echo "$1 begin on "`date` | tee -a $REPORT_FILE if test $SVN; then - echossh $1 "cd $2; svn up" + echossh $1 "cd $2; $SVN up" # echossh $1 "cd $2; if test ! -f configure -o configure.ac -nt configure; then $AC_CMD; fi" else - echo "NO SVN?" - echo "NO SVN?" - echo "NO SVN?" + # tar and copy this dir + echo on + cd .. + tar -cf ldns_test.tar . + scp ldns_test.tar $1:$2 + echossh $1 "cd $2; tar xf ldns_test.tar" + rm -f ldns_test.tar + #echo "NO SVN?" + #echo "NO SVN?" - exit # # svn and autoconf locally # echo "fake svn via svnexport, tar, autoconf, bison, flex." # svn export $REPOSITORY $DIR