summary refs log tree commit diff
path: root/bin/cash/tests/builtins/jobid1.0
blob: fae17708f2ad1441ca6b707c2d188e8e0d25efe0 (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/jobid1.0 254412 2013-08-16 13:48:11Z jilles $
# Non-standard builtin.

: &
p1=$!
p2=$(jobid)
[ "${p1:?}" = "${p2:?}" ]