tests: filter control sequences only when interactive

This demonstrates that we only write control sequences when interactive.
This commit is contained in:
Johannes Altmanninger
2024-04-12 12:19:32 +02:00
parent 9158395d10
commit 1e858eae35
139 changed files with 167 additions and 163 deletions

View File

@@ -1,4 +1,4 @@
#RUN: %fish -C 'set -l fish %fish' %s | %filter-ctrlseqs
#RUN: %fish -C 'set -l fish %fish' %s
exec cat <nosuchfile
#CHECKERR: warning: An error occurred while redirecting file 'nosuchfile'