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 %s | %filter-ctrlseqs
#RUN: %fish %s
set -l filename (echo foo | psub --testing)
test -f $filename
or echo 'psub is not a regular file' >&2