fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes Altmanningertests/man: skip if documentation has not been built40bf0e0ce

master
587 B20 linesraw
1# RUN: %fish %s
2
3# REQUIRES: command -v sphinx-build
4# REQUIRES: command -v man
5# REQUIRES: %fish -c '__fish_data_with_directory man/man1 ".*" ls' | grep -q .
6
7# Override the test-override again.
8status get-file functions/__fish_print_help.fish | source
9
10set -l deroff col -b -p -x
11
12set -lx MANWIDTH 80
13man abbr | $deroff | head -n4
14# CHECK: ABBR(1) {{ *}} fish-shell {{ *}} ABBR(1)
15# CHECK: NAME
16# CHECK:        abbr - manage fish abbreviations
17man : | $deroff | head -n4
18# CHECK: TRUE(1) {{ *}} fish-shell {{ *}} TRUE(1)
19# CHECK: NAME
20# CHECK:        true - return a successful result