Date: Fri, 7 Nov 2008 14:45:42 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184748 - head/tools/regression/fstest/tests Message-ID: <200811071445.mA7EjgSx085994@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Fri Nov 7 14:45:42 2008 New Revision: 184748 URL: http://svn.freebsd.org/changeset/base/184748 Log: Improve output when a test fails. Approved by: rwatson (mentor) Modified: head/tools/regression/fstest/tests/misc.sh Modified: head/tools/regression/fstest/tests/misc.sh ============================================================================== --- head/tools/regression/fstest/tests/misc.sh Fri Nov 7 11:42:02 2008 (r184747) +++ head/tools/regression/fstest/tests/misc.sh Fri Nov 7 14:45:42 2008 (r184748) @@ -27,7 +27,7 @@ expect() if [ $? -eq 0 ]; then echo "ok ${ntest}" else - echo "not ok ${ntest}" + echo "not ok ${ntest} - tried '$*', expected ${e}, got ${r}" fi ntest=`expr $ntest + 1` } @@ -43,7 +43,7 @@ jexpect() if [ $? -eq 0 ]; then echo "ok ${ntest}" else - echo "not ok ${ntest}" + echo "not ok ${ntest} - tried '$*', expected ${e}, got ${r}" fi ntest=`expr $ntest + 1` }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811071445.mA7EjgSx085994>