Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion stdlib-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,27 @@ done
info "Info"
notice "Notice"
note "Note"
{ local tmpDebug=std_DEBUG; std_DEBUG=1; debug "Debug"; std_DEBUG=tmpDebug; }

warn "Warning"
error "Error"
#die "Die"

waitForRes "Executing foo1"
evalRes "echo 'foo' > /dev/null"
checkRes f $? "good"

waitForRes "Executing foo2"
evalRes "echo 'foo' > /dev/null"
checkRes w 1 "not so good"

waitForRes "Executing foo3"
evalRes "echo 'foo' > /dev/null"
checkRes k 1 "not good"

waitForRes "Executing foo4"
evalRes "echo 'foo' > /dev/null"
checkRes f 1 "bad"

} # main # }}}

main "${@:-}"
Expand Down
Loading