1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254412

View File

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