Commit 067245e3 authored by John Hodge's avatar John Hodge
Browse files

Tests - Tweak to the running-as-root check

parent 4848b385
Pipeline #387 failed with stages
in 1 minute
......@@ -5,7 +5,7 @@ TESTNAME=basic
. _common.sh
# (CI runs as root, and root is auto-added by databse creation)
if [[ "$USER" -ne "root" ]]; then
if [[ "x$USER" != "xroot" ]]; then
# Ensure that the databse doesn't already contain the current user
# - 1. Protects against running the test against the production database
# - 2. Allows adding the current user as an admin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment