More tests for get_var

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-03-28 15:59:16 -03:00
parent 3ee8f9ba71
commit 9fbb796022
2 changed files with 45 additions and 1 deletions

View File

@@ -124,6 +124,18 @@ plan() {
# The following subs are for the test files to call.
#
pass() {
local reason="${1:-""}"
result 0 "$reason"
}
fail() {
local reason="${1:-""}"
result 1 "$reason"
}
skip() {
local skip="$1"
local number_of_tests="$2"