summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-10-28 09:24:01 +0100
committerJim Meyering <meyering@redhat.com>2008-10-28 09:24:01 +0100
commit5dc070cc866477bc4899221ecceb1c294db99371 (patch)
tree50feb0fa82ac9f8d0080eef94477c887291794d8
parentb4ec994b26662f890da855c8a1914aff4d2d3faa (diff)
downloadcoreutils-5dc070cc866477bc4899221ecceb1c294db99371.tar.xz
tests: ls/stat-failed: don't discard stderr.
* tests/ls/stat-failed: Let stderr be recorded, to ease debugging.
-rwxr-xr-xtests/ls/stat-failed4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ls/stat-failed b/tests/ls/stat-failed
index 949fa24c6..430c36fe8 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