diff options
author | acurtis@xiphis.org <> | 2005-06-09 17:15:06 +0100 |
---|---|---|
committer | acurtis@xiphis.org <> | 2005-06-09 17:15:06 +0100 |
commit | 3b8c3bd7e1d26423756301891cfdf6d181652699 (patch) | |
tree | d9346272a66df32b694fc91151af4459d92c8e47 /ndb | |
parent | d08d1a88e080a5febdcb9826b4113918ff4fd473 (diff) | |
parent | 304bb0c66d8d6f22d93548aa8fb141560186a2d2 (diff) | |
download | mariadb-git-3b8c3bd7e1d26423756301891cfdf6d181652699.tar.gz |
Merge
Diffstat (limited to 'ndb')
-rwxr-xr-x | ndb/test/run-test/ndb-autotest.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ndb/test/run-test/ndb-autotest.sh b/ndb/test/run-test/ndb-autotest.sh index 3ba4d1928d5..09087a8a8c7 100755 --- a/ndb/test/run-test/ndb-autotest.sh +++ b/ndb/test/run-test/ndb-autotest.sh @@ -13,7 +13,7 @@ save_args=$* VERSION="ndb-autotest.sh version 1.04" DATE=`date '+%Y-%m-%d'` -HOST=`hostname -s` +HOST=`hostname` export DATE HOST set -e @@ -330,7 +330,10 @@ start(){ tar cfz /tmp/res.$2.$$.tgz `basename $p2`/$DATE scp /tmp/res.$2.$$.tgz \ $result_host:$result_path/res.$DATE.$HOST.$2.$$.tgz - rm -f /tmp/res.$2.$$.tgz + if [ $? -eq 0 ] + then + rm -f /tmp/res.$2.$$.tgz + fi fi } |