diff options
author | EuAndreh <eu@euandre.org> | 2021-09-08 07:32:30 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-08 07:32:30 -0300 |
commit | 6f4459bf7f7936ff8d61b5ffdc7a82bd8c5ac825 (patch) | |
tree | 3b399cfe647e803d2b46a57e0c24d5a01c6dbb84 /tests/cli-opts.sh | |
parent | Makefile: Indent object file dependency (diff) | |
download | remembering-6f4459bf7f7936ff8d61b5ffdc7a82bd8c5ac825.tar.gz remembering-6f4459bf7f7936ff8d61b5ffdc7a82bd8c5ac825.tar.xz |
src/remembering.in: Add trailing "/remembering" to the value defined in $XDG_DATA_HOME
Diffstat (limited to 'tests/cli-opts.sh')
-rwxr-xr-x | tests/cli-opts.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh index 48020e2..733636f 100755 --- a/tests/cli-opts.sh +++ b/tests/cli-opts.sh @@ -182,7 +182,7 @@ test_environment_variables_and_precedence() { assert_status 0 assert_empty_stderr assert_stdout 'a' - assert_stream "\$XDG PROFILE" "$XDG/$PROFILE" '1:a' + assert_stream "\$XDG PROFILE" "$XDG/remembering/$PROFILE" '1:a' N="$LINENO" OUT="$(mktemp)" @@ -215,7 +215,8 @@ test_environment_variables_and_precedence() { assert_status 0 assert_empty_stderr assert_stdout 'c' - assert_stream "\$XDG and \$HOME PROFILE" "$XDG/$PROFILE" '1:c' + assert_stream \ + "\$XDG and \$HOME PROFILE" "$XDG/remembering/$PROFILE" '1:c' if [ -e "$HHOME/.local/share/remembering/$PROFILE" ]; then printf "\nERR: The file in \$HHOME/.local should't exist\n" >&2 |