blob: abfa71adaf9c892dadf167bd68ca0e8575ed1505 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/jobid2.0 254413 2013-08-16 13:56:43Z jilles $
: &
p1=$(jobid)
p2=$(jobid --)
p3=$(jobid %+)
p4=$(jobid -- %+)
[ "${p1:?}" = "${p2:?}" ] && [ "${p2:?}" = "${p3:?}" ] &&
[ "${p3:?}" = "${p4:?}" ] && [ "${p4:?}" = "${p1:?}" ]
|