diff options
author | EuAndreh <eu@euandre.org> | 2021-02-20 01:43:31 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-20 01:43:31 -0300 |
commit | 40f7cf2333ac501598fa9b4aa8f1a4b435800b06 (patch) | |
tree | 6d184d818248fd6a2bbd7ad4de56607285a16c6c /tests/cli-opts.sh | |
parent | Makefile.in: Simplify build/tests of C code (diff) | |
download | remembering-40f7cf2333ac501598fa9b4aa8f1a4b435800b06.tar.gz remembering-40f7cf2333ac501598fa9b4aa8f1a4b435800b06.tar.xz |
cli-opts.sh: Fix sandboxed tests, add $XDG_DATA_HOME
Diffstat (limited to 'tests/cli-opts.sh')
-rwxr-xr-x | tests/cli-opts.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |