mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
tests/test_env.sh: fix copy paste error so we export XDG_RUNTIME_DIR
fish might use XDG_RUNTIME_DIR for the uvar notifier fifo, so this makes sure that tests are isolated. Also set permissions to comply with the XDG basedir spec.
This commit is contained in:
parent
4b46717a91
commit
ece89f43aa
1 changed files with 2 additions and 1 deletions
|
@ -46,8 +46,9 @@ export XDG_CONFIG_HOME
|
|||
mkdir -p $XDG_CONFIG_HOME/fish || die
|
||||
|
||||
XDG_RUNTIME_DIR="$homedir/xdg_runtime_dir"
|
||||
export XDG_CONFIG_HOME
|
||||
export XDG_RUNTIME_DIR
|
||||
mkdir -p $XDG_RUNTIME_DIR/fish || die
|
||||
chmod 700 "$XDG_RUNTIME_DIR"
|
||||
|
||||
# Create a temp/scratch directory for tests to use, if they want (tests shouldn't write to a
|
||||
# shared temp folder).
|
||||
|
|
Loading…
Reference in a new issue