sh: Add test for the non-standard jobid builtin.

This commit is contained in:
jilles 2013-08-16 13:48:11 +00:00
parent 54bb21f022
commit b6d179c140

View File

@ -0,0 +1,7 @@
# $FreeBSD$
# Non-standard builtin.
: &
p1=$!
p2=$(jobid)
[ "${p1:?}" = "${p2:?}" ]