diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-11-17 10:22:51 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-11-17 10:22:51 +0100 |
commit | 44179d880d3fc4a15eaa2c94e46ffdd5067ac894 (patch) | |
tree | 5f1d08740a29d72b8b94e0d23975ad88aec9e7e5 /src/testing | |
parent | 86c021fe630ab0b5153cdeadb5cca943e48e4797 (diff) | |
download | merchant-44179d880d3fc4a15eaa2c94e46ffdd5067ac894.tar.gz merchant-44179d880d3fc4a15eaa2c94e46ffdd5067ac894.tar.bz2 merchant-44179d880d3fc4a15eaa2c94e46ffdd5067ac894.zip |
unset XDG in tests
Diffstat (limited to 'src/testing')
-rwxr-xr-x | src/testing/setup.sh | 4 | ||||
-rwxr-xr-x | src/testing/test-merchant-walletharness.sh | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/testing/setup.sh b/src/testing/setup.sh index 6d26168c..51ca3381 100755 --- a/src/testing/setup.sh +++ b/src/testing/setup.sh @@ -10,6 +10,10 @@ set -eu +unset XDG_DATA_HOME +unset XDG_CONFIG_HOME + + # Cleanup to run whenever we exit function exit_cleanup() { diff --git a/src/testing/test-merchant-walletharness.sh b/src/testing/test-merchant-walletharness.sh index 91cb542a..4c5a31d5 100755 --- a/src/testing/test-merchant-walletharness.sh +++ b/src/testing/test-merchant-walletharness.sh @@ -22,6 +22,9 @@ set -eu +unset XDG_DATA_HOME +unset XDG_CONFIG_HOME + # Exit, with status code "skip" (no 'real' failure) function exit_skip() { echo $1 |