mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-04 04:31:14 -03:00
When running fish from a CMake build directory ("build/fish"),
"__fish_help_dir" is wrong because we assume the tarball layout. Fix
that.
18 lines
816 B
Fish
18 lines
816 B
Fish
# RUN: %fish -d config | grep -v ^Debug.enabled.for.category
|
|
# REQUIRES: %fish -d config -c '' 2>| grep 'Running out of build directory'
|
|
|
|
# CHECKERR: config: executable path: {{.*}}/fish
|
|
# CHECKERR: config: Running out of build directory, using paths relative to $CARGO_MANIFEST_DIR ({{.*}})
|
|
|
|
# NOTE: When our executable is located outside the workspace, this is "/etc".
|
|
# CHECKERR: config: paths.sysconf: {{.+}}/etc
|
|
|
|
# CHECKERR: config: paths.bin: {{.*}}
|
|
|
|
# NOTE: When our executable is located outside the build directory, these are different.
|
|
# CHECKERR: config: paths.data: {{.*}}/share
|
|
# CHECKERR: config: paths.doc: {{.*/user_doc/html|\|not found\|}}
|
|
|
|
# CHECKERR: config: sourcing {{.+}}/etc/config.fish
|
|
# CHECKERR: config: not sourcing {{.*}}/xdg_config_home/fish/config.fish (not readable or does not exist)
|