MFC r304040:

Redirect the output of the testcases to stderr instead of
redirecting it to /dev/null

This will aid in debugging failures
This commit is contained in:
Enji Cooper 2016-09-01 19:05:23 +00:00
parent 100a82d820
commit 1271c8406c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=305227
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"