summary refs log tree commit diff
path: root/bin/cash/tests/builtins/printf3.0
blob: e6a1dec9c122e27993ca70b70aad099e6b325a14 (plain) (blame)
1
2
3
4
5
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/printf3.0 216606 2010-12-20 23:06:57Z jilles $

set -e
v=$(! printf "%d" @wrong 2>/dev/null)
[ "$v" = "0" ]