From owner-svn-src-all@FreeBSD.ORG Fri Nov 7 14:45:42 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59218106568C; Fri, 7 Nov 2008 14:45:42 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 48DBA8FC1B; Fri, 7 Nov 2008 14:45:42 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA7Ejg8s085995; Fri, 7 Nov 2008 14:45:42 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA7EjgSx085994; Fri, 7 Nov 2008 14:45:42 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <200811071445.mA7EjgSx085994@svn.freebsd.org> From: Edward Tomasz Napierala Date: Fri, 7 Nov 2008 14:45:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184748 - head/tools/regression/fstest/tests X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 14:45:42 -0000 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` }