+ exit 1
+fi
+
+if [[ "x$USER" == "xroot" ]]; then
+ FAIL "Running as root"
+fi
+# Ensure that the database 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
+if $DISPENSE acct "${USER}" 2> /dev/null; then
+ FAIL "Database contains '$USER', are you running on production?"