From 1271c8406ce5718896bd99207633184a7deb733d Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Thu, 1 Sep 2016 19:05:23 +0000 Subject: [PATCH] MFC r304040: Redirect the output of the testcases to stderr instead of redirecting it to /dev/null This will aid in debugging failures --- tests/sys/acl/00.sh | 2 +- tests/sys/acl/01.sh | 2 +- tests/sys/acl/02.sh | 4 ++-- tests/sys/acl/03.sh | 2 +- tests/sys/acl/04.sh | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/sys/acl/00.sh b/tests/sys/acl/00.sh index 61e8115525ff..98b5e6fdf509 100644 --- a/tests/sys/acl/00.sh +++ b/tests/sys/acl/00.sh @@ -75,7 +75,7 @@ chmod 600 xxx rm xxx echo "ok 2" -perl $TESTDIR/run $TESTDIR/tools-posix.test > /dev/null +perl $TESTDIR/run $TESTDIR/tools-posix.test >&2 if [ $? -eq 0 ]; then echo "ok 3" diff --git a/tests/sys/acl/01.sh b/tests/sys/acl/01.sh index 93487a77263f..a456c07f2c64 100644 --- a/tests/sys/acl/01.sh +++ b/tests/sys/acl/01.sh @@ -76,7 +76,7 @@ chmod 600 xxx rm xxx echo "ok 2" -perl $TESTDIR/run $TESTDIR/tools-nfs4-psarc.test > /dev/null +perl $TESTDIR/run $TESTDIR/tools-nfs4-psarc.test >&2 if [ $? -eq 0 ]; then echo "ok 3" diff --git a/tests/sys/acl/02.sh b/tests/sys/acl/02.sh index 8fbb39de4d6a..a989ee39702c 100644 --- a/tests/sys/acl/02.sh +++ b/tests/sys/acl/02.sh @@ -76,9 +76,9 @@ rm xxx echo "ok 2" if [ `sysctl -n vfs.acl_nfs4_old_semantics` = 0 ]; then - perl $TESTDIR/run $TESTDIR/tools-nfs4-psarc.test > /dev/null + perl $TESTDIR/run $TESTDIR/tools-nfs4-psarc.test >&2 else - perl $TESTDIR/run $TESTDIR/tools-nfs4.test > /dev/null + perl $TESTDIR/run $TESTDIR/tools-nfs4.test >&2 fi if [ $? -eq 0 ]; then diff --git a/tests/sys/acl/03.sh b/tests/sys/acl/03.sh index 2b81b2662306..e6379a6d4497 100644 --- a/tests/sys/acl/03.sh +++ b/tests/sys/acl/03.sh @@ -89,7 +89,7 @@ echo "ok 3" cd $MNTROOT -perl $TESTDIR/run $TESTDIR/tools-crossfs.test > /dev/null +perl $TESTDIR/run $TESTDIR/tools-crossfs.test >&2 if [ $? -eq 0 ]; then echo "ok 4" diff --git a/tests/sys/acl/04.sh b/tests/sys/acl/04.sh index 5669c5a48d24..ff1d3cb080bb 100644 --- a/tests/sys/acl/04.sh +++ b/tests/sys/acl/04.sh @@ -57,7 +57,7 @@ echo "ok 1" cd $MNT -perl $TESTDIR/run $TESTDIR/tools-nfs4-trivial.test > /dev/null +perl $TESTDIR/run $TESTDIR/tools-nfs4-trivial.test >&2 if [ $? -eq 0 ]; then echo "ok 2"