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