mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 11:00:15 -05:00
case1.0 tests POSIX requirements and one more for keywords in case statements. The others test very special cases of command substitution. These also work on stable/8.
7 lines
139 B
Text
7 lines
139 B
Text
# $FreeBSD$
|
|
|
|
# This may be expected to work, but pretty much only ash derivatives allow it.
|
|
|
|
test "$(cat <<EOF)" = "hi there"
|
|
hi there
|
|
EOF
|