This is meant to prevent accidentally overwriting your auth file when
running / changing the tests.
return 1
fi
+# Abort this setup script on any error.
+_save_errexit=${options[errexit]}
+set -e
+
# Reset any authentication.
echo -n >| $AUTOENV_ENV_FILENAME
test_autoenv_add_to_env $PWD/$AUTOENV_FILE_ENTER
test_autoenv_add_to_env $PWD/$AUTOENV_FILE_LEAVE
}
+
+# Now keep on going on errors again.
+options[errexit]=$_save_errexit
+unset _save_errexit