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