Redirect the output of the testcases to stderr instead of

redirecting it to /dev/null

This will aid in debugging failures

MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-08-13 06:26:33 +00:00
parent 8b8a0b8883
commit 708cc995e3
5 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"