Files
fish-shell/tests/checks/sphinx-html.fish
Nahor 944ab91fab tests: various fixes for Cygwin itself and ACL mounts
Most notably:
- Unlike MSYS, Cygwin seems to always properly handle symlinks (at least
in common scenarios)
- With ACL, "x" permission also requires "r" do to anything, be it files
or directories

Closes #12642
2026-04-19 17:09:36 +08:00

12 lines
468 B
Fish

#RUN: fish_indent=%fish_indent %fish %s
#REQUIRES: command -v sphinx-build
# Cygwin has some old version of python/sphinx/... triggering deprecation errors
# (and MSYS doesn't have sphinx-build at all)
#REQUIRES: %fish -c "not __fish_is_cygwin"
set -l workspace_root (status dirname)/../..
set -l build_script $workspace_root/tests/test_functions/sphinx-shared.sh
# sphinx-build needs fish_indent in $PATH
set -lxp PATH (path dirname $fish_indent)
$build_script html