Commit Graph

6 Commits

Author SHA1 Message Date
William Melody 80edd464b6 Use explicit escaping for "\\n" newlines.
Backslash is literal, so explicitly escape it rather than rely on
fallback behavior.

ShellCheck SC1117
https://github.com/koalaman/shellcheck/wiki/SC1117
2018-04-15 14:55:26 -07:00
William Melody 6783e94f16 Fix typo in test_helper.bash comment. 2016-01-25 17:25:10 -08:00
William Melody 8faa7a0ab6 Add `_compare()` function to test_helper.bash. 2016-01-25 17:20:10 -08:00
William Melody 4e7cd2279e Add information about Bats to top of test_helper.bash. 2016-01-24 22:38:55 -08:00
William Melody 0c95e842ad Use /tmp directory for temp file generated with `mktemp`.
Moving to `mktemp` with files in /tmp makes it possible to remove the
local test/tmp directory.
2016-01-24 22:32:37 -08:00
William Melody 30ed049441 Add initial test structure with test 'hosts' file. 2016-01-24 21:14:32 -08:00