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

This commit is contained in:
Jilles Tjoelker 2013-08-16 13:48:11 +00:00
parent fcaac274c0
commit 4fe1afd789

View File

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