fish-shell/tests/checks/exit-status-with-closing-stderr.fish
Johannes Altmanninger 1e858eae35 tests: filter control sequences only when interactive
This demonstrates that we only write control sequences when interactive.
2024-04-12 12:28:22 +02:00

8 lines
147 B
Fish

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