svn commit: r254412 - head/tools/regression/bin/sh/builtins
Jilles Tjoelker
jilles at FreeBSD.org
Fri Aug 16 13:48:12 UTC 2013
Author: jilles
Date: Fri Aug 16 13:48:11 2013
New Revision: 254412
URL: http://svnweb.freebsd.org/changeset/base/254412
Log:
sh: Add test for the non-standard jobid builtin.
Added:
head/tools/regression/bin/sh/builtins/jobid1.0 (contents, props changed)
Added: head/tools/regression/bin/sh/builtins/jobid1.0
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/regression/bin/sh/builtins/jobid1.0 Fri Aug 16 13:48:11 2013 (r254412)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+# Non-standard builtin.
+
+: &
+p1=$!
+p2=$(jobid)
+[ "${p1:?}" = "${p2:?}" ]
More information about the svn-src-all
mailing list