Simplify and individuate Bash tests so prove reports failures where they happen.

This commit is contained in:
Daniel Nichter
2012-02-23 13:58:57 -07:00
parent a33031e6e4
commit b99293d1b3
17 changed files with 77 additions and 81 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
TESTS=9
plan 9
source "$LIB_DIR/log_warn_die.sh"
source "$LIB_DIR/tmpdir.sh"
@@ -21,7 +21,7 @@ is "$TMPDIR" "" "rm_tmpdir resets TMPDIR"
# User-specified tmpdir.
# ###########################################################################
local dir="/tmp/use--tmpdir"
dir="/tmp/use--tmpdir"
is "$TMPDIR" "" "TMPDIR not defined"