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:?}" ]
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to