Date: Sun, 23 Nov 2008 20:27:03 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185232 - head/tools/regression/bin/sh/parameters Message-ID: <200811232027.mANKR3Ea063559@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stefanf Date: Sun Nov 23 20:27:03 2008 New Revision: 185232 URL: http://svn.freebsd.org/changeset/base/185232 Log: Add a test for r185231. Added: head/tools/regression/bin/sh/parameters/ head/tools/regression/bin/sh/parameters/exitstatus1.0 (contents, props changed) Added: head/tools/regression/bin/sh/parameters/exitstatus1.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/parameters/exitstatus1.0 Sun Nov 23 20:27:03 2008 (r185232) @@ -0,0 +1,9 @@ +# $FreeBSD$ +f() { + [ $? = $1 ] || exit 1 +} + +true +f 0 +false +f 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811232027.mANKR3Ea063559>