summaryrefslogtreecommitdiff
path: root/debian/tests/smoke
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/smoke')
-rw-r--r--debian/tests/smoke12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/tests/smoke b/debian/tests/smoke
index e5d50496bdb..802ef1b8f8b 100644
--- a/debian/tests/smoke
+++ b/debian/tests/smoke
@@ -40,28 +40,28 @@ else
echo "Found systemctl, continuing smoke test.."
fi
-mysql <<EOT
+mariadb <<EOT
CREATE DATABASE testdatabase;
CREATE USER 'testuser'@'localhost' identified by 'testpassword';
GRANT ALL ON testdatabase.* TO 'testuser'@'localhost';
EOT
-mysql testdatabase <<EOT
+mariadb testdatabase <<EOT
CREATE TABLE foo (bar INTEGER);
INSERT INTO foo (bar) VALUES (41);
EOT
-result=$(echo 'SELECT bar+1 FROM foo;'|mysql --batch --skip-column-names --user=testuser --password=testpassword testdatabase)
+result=$(echo 'SELECT bar+1 FROM foo;'|mariadb --batch --skip-column-names --user=testuser --password=testpassword testdatabase)
if [ "$result" != "42" ]; then
echo "Unexpected result" >&2
exit 1
fi
-mysql --user=testuser --password=testpassword testdatabase <<EOT
+mariadb --user=testuser --password=testpassword testdatabase <<EOT
DROP TABLE foo;
EOT
-mysql <<EOT
+mariadb <<EOT
DROP DATABASE testdatabase;
DROP USER 'testuser'@'localhost';
EOT
@@ -89,7 +89,7 @@ if [ "$(dpkg-architecture -qDEB_HOST_ARCH_BITS)" != 32 ] &&
LOG=/var/lib/mysql/#rocksdb/LOG
# XXX: The server may only be started during the install of
# mariadb-server-10.6, which happens before that of the plugin.
- [ -e $LOG ] || mysql -e "INSTALL PLUGIN RocksDB SONAME 'ha_rocksdb';"
+ [ -e $LOG ] || mariadb -e "INSTALL PLUGIN RocksDB SONAME 'ha_rocksdb';"
# XXX: rocksdb_supported_compression_types variable does not report ZSTD.
# Print RocksDB supported items so test log is easier to debug