sh: Sync with FreeBSD:
[dragonfly.git] / tools / regression / bin / sh / parser / dollar-quote11.0
1 # $FreeBSD: head/tools/regression/bin/sh/parser/dollar-quote11.0 221669 2011-05-08 17:40:10Z jilles $
2
3 # some sort of 't' outside BMP
4 s=$s$(printf '\360\235\225\245')
5
6 # Start a new shell so the locale change is picked up.
7 ss="$(LC_ALL=en_US.UTF-8 ${SH} -c "printf %s \$'\U0001d565'")"
8 [ "$s" = "$ss" ]