From 40f7cf2333ac501598fa9b4aa8f1a4b435800b06 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 20 Feb 2021 01:43:31 -0300 Subject: cli-opts.sh: Fix sandboxed tests, add $XDG_DATA_HOME --- tests/cli-opts.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh index d1fee95..83b3587 100755 --- a/tests/cli-opts.sh +++ b/tests/cli-opts.sh @@ -4,6 +4,8 @@ set -u . aux/utils.sh . tests/lib.sh +export XDG_DATA_HOME="$PWD/tests/test-profiles" + assert_usage() { if ! grep -Fq 'Usage' "$1"; then echo 'Expected to find "Usage" text, it was missing:' >&2 -- cgit v1.2.3