mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 14:51:13 -03:00
All usages of `mktemp` must go through the (fish-only) `mktemp` test function that abstracts over the differences across multiple platforms/flavors. Tests can be easily run individually via `ninja -C build test_xxx` and there isn't a good reason to randomly manually override $HOME and $XDG_CONFIG_HOME for a test here and a test there. If it's absolutely necessary, littlecheck.py should be extended to support a `%temp` variable initialized to a temporary directory and that can be used instead of calling out to the platform-provided `mktemp` via a subshell.
4 lines
204 B
Fish
4 lines
204 B
Fish
# Explicitly overriding HOME/XDG_CONFIG_HOME is only required if not invoking via `make test`
|
|
# RUN: env %fish --features '' -c 'string match --quiet "??" ab ; echo "qmarkon: $status"'
|
|
#CHECK: qmarkon: 0
|