sh: Add test for the non-standard jobid builtin.
This commit is contained in:
parent
fcaac274c0
commit
4fe1afd789
7
tools/regression/bin/sh/builtins/jobid1.0
Normal file
7
tools/regression/bin/sh/builtins/jobid1.0
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
# Non-standard builtin.
|
||||
|
||||
: &
|
||||
p1=$!
|
||||
p2=$(jobid)
|
||||
[ "${p1:?}" = "${p2:?}" ]
|
Loading…
Reference in New Issue
Block a user