fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
30e6aa85e
master
1# RUN: %fish %s 2# REQUIRES: command -v man 3 4# Test redirecting builtin help with a pipe 5# help should be redirected to grep instead of appearing on STDOUT 6builtin and --help2>| grep -q"Documentation for and" 7echo $status 8#CHECK: 0 9 10function __fish_print_help 11return 2 12end 13builtin and --help 14# CHECKERR: and: missing man page 15# CHECKERR: Documentation may not be installed. 16# CHECKERR: `help and` will show an online version