Example output of pkgin test suite. It uses the Bash Automated Test Suite for writing and running the tests.
--<jperkin@roobarb.local>-</work/git/pkgin/tests>--
-> bmake
=> Generating /work/git/pkgin/tests/.packages/keep-1.0.tgz
=> Generating /work/git/pkgin/tests/.packages/upgrade-1.0.tgz
=> Generating /work/git/pkgin/tests/.packages/upgrade-2.0.tgz
=> Generating /work/git/pkgin/tests/.packages/conflict-1.0.tgz
=> Generating /work/git/pkgin/tests/.packages/pkgpath-1.0.tgz
=> Generating /work/git/pkgin/tests/.packages/pkgpath-2.0.tgz
=> Creating /work/git/pkgin/tests/.packages/pkg_summary.gz
=> Executing /work/git/pkgin/tests/tests.bats
✓ install keep-1.0
✓ install upgrade-1.0
✓ verify pkg_info (install initial packages)
✓ initial pkgin upgrade
✓ verify pkg_info (pkgin upgrade)
✓ attempt to install confict package
✓ verify pkg_install-err.log (conflict)
✓ remove upgrade package
✓ verify pkg_info (pkgin remove)
✓ install pkgpath-1.0
✓ attempt pkgpath-2.0 upgrade
✓ verify pkg_info (pkgpath upgrade)
✓ attempt pkgpath-2.0 install
✓ verify pkg_info (pkgpath install)
14 tests, 0 failures