fish-shell/tests/checks/exit-status-with-closing-stderr.fish

8 lines
166 B
Fish
Raw Normal View History

# RUN: %fish %s | %filter-ctrlseqs
argparse r-require= -- --require 2>/dev/null
echo $status
# CHECK: 2
argparse r-require= -- --require 2>&-
echo $status
# CHECK: 2