summaryrefslogtreecommitdiff
path: root/mysql-test/install_test_db.sh
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-04 02:56:38 +0200
committermonty@donna.mysql.com <>2001-01-04 02:56:38 +0200
commit7541a877bcc007f58cb218fe18a4f4b18c7ba71a (patch)
tree372d81dfa5cc567493d3b099189518dfa6fc14c5 /mysql-test/install_test_db.sh
parentff0e2e2d7a6336a5addc71a3216f497261c6b4d3 (diff)
downloadmariadb-git-7541a877bcc007f58cb218fe18a4f4b18c7ba71a.tar.gz
Fixes to get mysql-test-run more portable
Diffstat (limited to 'mysql-test/install_test_db.sh')
-rw-r--r--mysql-test/install_test_db.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/install_test_db.sh b/mysql-test/install_test_db.sh
index 28e6ad34419..3ee2aa42fad 100644
--- a/mysql-test/install_test_db.sh
+++ b/mysql-test/install_test_db.sh
@@ -41,6 +41,7 @@ fi
# On IRIX hostname is in /usr/bsd so add this to the path
PATH=$PATH:/usr/bsd
hostname=`hostname` # Install this too in the user table
+hostname="$hostname%" # Fix if not fully qualified hostname
resolved=127.0.0.1