]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/printf2.sub
Bash-5.2-rc4 release
[thirdparty/bash.git] / tests / printf2.sub
1 unset LC_ALL LC_CTYPE
2
3 export LANG=C
4 case $(printf %d\\n \'A) in
5 65) ;;
6 *) echo "printf2.sub: character conversion failed" >&2 ;;
7 esac
8
9 export LANG=en_US.UTF-8
10 case $(printf %d\\n \'À) in
11 192) exit 0;;
12 *) echo "printf2.sub: multibyte character conversion failed" >&2 ; exit 2 ;;
13 esac