From 5dc070cc866477bc4899221ecceb1c294db99371 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Oct 2008 09:24:01 +0100 Subject: [PATCH] tests: ls/stat-failed: don't discard stderr. * tests/ls/stat-failed: Let stderr be recorded, to ease debugging. --- tests/ls/stat-failed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ls/stat-failed b/tests/ls/stat-failed index 949fa24..430c36f 100755 --- a/tests/ls/stat-failed +++ b/tests/ls/stat-failed @@ -31,7 +31,7 @@ chmod 600 d || framework_failure fail=0 -ls -Log d > out 2> err +ls -Log d > out test $? = 1 || fail=1 cat <<\EOF > exp || fail=1 @@ -43,7 +43,7 @@ sed 's/^l/?/' out | compare - exp || fail=1 # Ensure that the offsets in --dired output are accurate. rm -f out exp -ls --dired -l d > out 2> /dev/null && fail=1 +ls --dired -l d > out && fail=1 cat <<\EOF > exp || fail=1 total 0 -- 2.7.4