would you be interested of a sketchy testsuite/printf.tests

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Tue Jun 3 22:28:35 UTC 2008


Attached.


Cheers,

-- 
Cristian
-------------- next part --------------
#!/bin/sh

set -e

. testing.sh

bb="busybox "

testing "printf: produce no further output 1" \
	"${bb}printf '\c' foo" \
	"" \
	"" \
	""

testing "printf: produce no further output 2" \
	"${bb}printf '%s\c' foo \$HOME" \
	"foo" \
	"" \
	""

testing "printf: produce no further output 3" \
	"${bb}printf '%s\n' foo \$HOME" \
	"foo\n$HOME\n" \
	"" \
	""

exit 0


More information about the busybox mailing list