ERROR_DIR is needed in run-test.sh, while config.sh needs to be sourced by the bash process spawned at run-test.sh:42, not by run-test.sh itself. Ergo, ERROR_DIR can't be defined in config.sh.