From c964edcd68ac15da2ce9c05a82d7c2ac9e6f3081 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 25 Nov 2021 18:46:15 +0100 Subject: [PATCH] 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 --- tests/checks/features-nocaret5.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checks/features-nocaret5.fish b/tests/checks/features-nocaret5.fish index fedbfb74f..67db8e58a 100644 --- a/tests/checks/features-nocaret5.fish +++ b/tests/checks/features-nocaret5.fish @@ -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}}: {{.*}}