Use cat instead of ls to skip colorls

We don't really care *which*, we just want to generate some error so
we can see that the redirection worked.

Fixes #8492
This commit is contained in:
Fabian Homborg 2021-11-25 18:46:15 +01:00
parent c71a2e573f
commit c964edcd68

View file

@ -1,2 +1,2 @@
#RUN: %fish --features no-stderr-nocaret -c 'ls /abavojijsdfhdsjhfuihifoisj ^&1'
# CHECK: {{ls|/abavojijsdfhdsjhfuihifoisj}}: {{.*}}
#RUN: %fish --features no-stderr-nocaret -c 'cat /abavojijsdfhdsjhfuihifoisj ^&1'
# CHECK: {{cat|/abavojijsdfhdsjhfuihifoisj}}: {{.*}}