diff options
author | unknown <joreland@mysql.com> | 2005-02-22 12:15:27 +0100 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2005-02-22 12:15:27 +0100 |
commit | bf88db5c2036f6194d710a3a2faca7ab6fb4a77b (patch) | |
tree | 1dc418aefdd0db3944119a6cbd92cfc128124888 /ndb/test/run-test/ndb-autotest.sh | |
parent | 029f10dd85ebe9f3bfe29e2de9bbcec9d01743e7 (diff) | |
download | mariadb-git-bf88db5c2036f6194d710a3a2faca7ab6fb4a77b.tar.gz |
wl1292 - ndb autotest - fix html reporting bug
ndb/test/run-test/ndb-autotest.sh:
use correct path when packing result tar ball
Diffstat (limited to 'ndb/test/run-test/ndb-autotest.sh')
-rwxr-xr-x | ndb/test/run-test/ndb-autotest.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ndb/test/run-test/ndb-autotest.sh b/ndb/test/run-test/ndb-autotest.sh index 039f1bf914e..397df97d52f 100755 --- a/ndb/test/run-test/ndb-autotest.sh +++ b/ndb/test/run-test/ndb-autotest.sh @@ -182,8 +182,10 @@ start(){ [ "`find . -name 'result*'`" ] && mv result* $3 cd $3 sh $html . $1 $DATE - cd ../.. - tar cvz /tmp/res.$$.tgz `basename $3`/$DATE + cd .. + p2=`pwd` + cd .. + tar cfz /tmp/res.$$.tgz `basename $p2`/$DATE scp /tmp/res.$$.tgz $result_host:$result_path ssh $result_host "cd $result_path && tar xfz res.$$.tgz && rm -f res.$$.tgz" rm -f /tmp/res.$$.tgz |