xref: /freebsd/bin/sh/tests/builtins/printf4.0 (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
1# $FreeBSD$
2
3set -e
4v=$(! printf "%d" 4wrong 2>/dev/null)
5[ "$v" = "4" ]
6