From 13ea02eeeb4533c7a80a95c82bf1dd1b1d9727a0 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 13 Sep 2019 17:55:27 +0200 Subject: [PATCH] tests/run.sh: do not export XDG_CONFIG_HOME (#2876) Only set it for the "awesome" process invocation. --- tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run.sh b/tests/run.sh index 37c28b99..564b1c29 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -106,7 +106,6 @@ fi # Add test dir (for _runner.lua). # shellcheck disable=SC2206 awesome_options=($AWESOME_OPTIONS --search lib --search "$this_dir") -export XDG_CONFIG_HOME="$build_dir" # Cleanup on errors / aborting. cleanup() { @@ -178,6 +177,7 @@ start_awesome() { DISPLAY="$D" SOURCE_DIRECTORY="$source_dir" \ AWESOME_THEMES_PATH="$AWESOME_THEMES_PATH" \ AWESOME_ICON_PATH="$AWESOME_ICON_PATH" \ + XDG_CONFIG_HOME="$build_dir" \ timeout "$TEST_TIMEOUT" "$AWESOME" -c "$RC_FILE" "${awesome_options[@]}" > "$awesome_log" 2>&1 & awesome_pid=$! cd - >/dev/null