]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3884] Fix up some cut and paste typos
authorShawn Routhier <sar@isc.org>
Mon, 15 Jun 2015 04:55:56 +0000 (21:55 -0700)
committerShawn Routhier <sar@isc.org>
Mon, 15 Jun 2015 04:55:56 +0000 (21:55 -0700)
src/bin/admin/admin-utils.sh
src/bin/admin/tests/pgsql_tests.sh.in

index b118bdfaf0b85b30e550835e6b077a0c727583ae..c48f50ae717cb046e39455fda9e5c0ad663caf29 100644 (file)
@@ -47,11 +47,11 @@ mysql_version() {
 # pgsql_execute SQL_QUERY - This call is simpler, but requires db_user,
 #     db_password and db_name variables to be set.
 # pgsql_execute SQL_QUERY PARAM1 PARAM2 .. PARAMN - Additional parameters
-#     may be specified. They are passed directly to mysql. This one is
+#     may be specified. They are passed directly to pgsql. This one is
 #     more convenient to use if the script didn't parse db_user db_password
 #     and db_name.
 #
-# It returns the mysql command exit status to the caller as $?
+# It returns the pgsql command exit status to the caller as $?
 pgsql_execute() {
     QUERY=$1
     shift
@@ -71,11 +71,11 @@ pgsql_execute() {
 # pgsql_execute SQL_FILE - This call is simpler, but requires db_user,
 #     db_password and db_name variables to be set.
 # pgsql_execute SQL_FILE PARAM1 PARAM2 .. PARAMN - Additional parameters
-#     may be specified. They are passed directly to mysql. This one is
+#     may be specified. They are passed directly to pgsql. This one is
 #     more convenient to use if the script didn't parse db_user db_password
 #     and db_name.
 #
-# It returns the mysql command exit status to the caller as $?
+# It returns the pgsql command exit status to the caller as $?
 pgsql_execute_script() {
     file=$1
     shift
index fc198c2745cac90f6aedc8ae69cabed41b65e48d..a4bf9b0c4ade56fd1b2c22b609f5c801fcb3847d 100644 (file)
@@ -65,7 +65,7 @@ pgsql_lease_init_test() {
 
     # Check schema_version table
     RESULT=`pgsql_execute "SELECT version, minor FROM schema_version;"`
-    assert_eq 0 $? "schema_vesion table check failed, expected exit code: %d, actual: %d"
+    assert_eq 0 $? "schema_version table check failed, expected exit code: %d, actual: %d"
 
     # Check lease4 table
     RESULT=`pgsql_execute "SELECT address, hwaddr, client_id, valid_lifetime, expire, subnet_id, fqdn_fwd, fqdn_rev, hostname FROM lease4;"`