From afeb6f5aebabf8c24e739632df9a129e24106fc4 Mon Sep 17 00:00:00 2001
From: Andreas Jaeger <aj@suse.com>
Date: Tue, 7 Feb 2017 11:39:40 +0100
Subject: [PATCH] Minor cleanup on tools/test-setup.sh

Remove unused variable.
Fix comment nit.

This addresses a review comment in https://review.openstack.org/430069.

Change-Id: I47e75a68c7e97340dab8b51b9fab9ed2983061ef
---
 tools/test-setup.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tools/test-setup.sh b/tools/test-setup.sh
index 07a078547b2..00c765e734a 100755
--- a/tools/test-setup.sh
+++ b/tools/test-setup.sh
@@ -18,7 +18,7 @@ DB_PW=openstack_citest
 sudo -H mysqladmin -u root password $DB_ROOT_PW
 
 # It's best practice to remove anonymous users from the database.  If
-# a anonymous user exists, then it matches first for connections and
+# an anonymous user exists, then it matches first for connections and
 # other connections from that host will not work.
 sudo -H mysql -u root -p$DB_ROOT_PW -h localhost -e "
     DELETE FROM mysql.user WHERE User='';
@@ -33,9 +33,6 @@ mysql -u $DB_USER -p$DB_PW -h 127.0.0.1 -e "
     CREATE DATABASE openstack_citest CHARACTER SET utf8;"
 
 # Same for PostgreSQL
-# The root password for the PostgreSQL database; pass it in via
-# POSTGRES_ROOT_PW.
-DB_ROOT_PW=${POSTGRES_ROOT_PW:-insecure_slave}
 
 # Setup user
 root_roles=$(sudo -H -u postgres psql -t -c "