projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add regression tests for /bin/sh.
[dragonfly.git]
/
tools
/
regression
/
bin
/
sh
/
builtins
/
printf4.0
1
# $FreeBSD: src/tools/regression/bin/sh/builtins/printf4.0,v 1.1 2010/12/20 23:06:57 jilles Exp $
2
3
set -e
4
v=$(! printf "%d" 4wrong 2>/dev/null)
5
[ "$v" = "4" ]