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