Add a test for the printbuf functions.

This commit is contained in:
Eric Haszlakiewicz
2012-04-22 14:13:01 -05:00
parent b80772a0f5
commit e5c1e87f05
3 changed files with 182 additions and 0 deletions

12
tests/test_printbuf.test Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Common definitions
if test -z "$srcdir"; then
srcdir="${0%/*}"
test "$srcdir" = "$0" && srcdir=.
test -z "$srcdir" && srcdir=.
fi
. "$srcdir/test-defs.sh"
run_output_test test_printbuf
exit $?