projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ec994
)
tests: ls/stat-failed: don't discard stderr.
author
Jim Meyering
<meyering@redhat.com>
Tue, 28 Oct 2008 08:24:01 +0000
(09:24 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Tue, 28 Oct 2008 08:24:01 +0000
(09:24 +0100)
* tests/ls/stat-failed: Let stderr be recorded, to ease debugging.
tests/ls/stat-failed
patch
|
blob
|
history
diff --git
a/tests/ls/stat-failed
b/tests/ls/stat-failed
index
949fa24
..
430c36f
100755
(executable)
--- 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