1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

* tests/mv/i-link-no: Work around HP-UX /bin/sh tracing problem

(set -x when VERBOSE=yes) when stderr is redirected before stdout
causing shell tracing of the stdout redirection to be written to
the stderr file.  Avoid problem and test failure on HP-UX by
redirecting stderr last.
* tests/dd/unblock-sync: Order shell file redirections for
stderr and stdout in the common style.
tests/acl: Likewise.
This commit is contained in:
Jim Meyering
2006-06-28 06:51:06 +00:00
parent c4d2d39cf8
commit 0e0f6e1050
3 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
getfacl --version < /dev/null 2> /dev/null 1>&2 \
&& setfacl --version < /dev/null 2> /dev/null 1>&2 || {
getfacl --version < /dev/null > /dev/null 2>&1 \
&& setfacl --version < /dev/null > /dev/null 2>&1 || {
cat <<EOF 1>&2
**************************************
$0: This test requires getfacl and setfacl.
@@ -8,7 +8,7 @@ EOF
(exit 77); exit 77
}
id -u bin 2> /dev/null 1>&2 || {
id -u bin > /dev/null 2>&1 || {
cat <<EOF 1>&2
**************************************
$0: This test requires a local user named bin.

View File

@@ -25,7 +25,7 @@ fi
fail=0
dd cbs=4 ibs=4 conv=unblock,sync < in 2>/dev/null > out || fail=1
dd cbs=4 ibs=4 conv=unblock,sync < in > out 2> /dev/null || fail=1
cat <<\EOF > exp || fail=1
0001
0002

View File

@@ -31,7 +31,7 @@ fi
fail=0
mv --reply=no a/bar a/foo b 2> err > out || fail=1
mv --reply=no a/bar a/foo b > out 2> err || fail=1
cat <<EOF > exp
EOF