#!/bin/bash # testsuite for testlib . ./testlib.sh test_success() { exit 0 } test_fail() { exit 1 } test_options() { echo "$@" exit 1 } expect_success test_success expect_fail test_fail expect_fail test_options "hello world" testlib_summary