mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-29 15:43:56 +00:00
Improve test framework
assertGrep() dumps file contents to log on failure
This commit is contained in:
parent
345b2c1c4c
commit
7fbe25946b
@ -295,6 +295,7 @@ assertGrep() {
|
||||
_tfw_error "incorrect arguments"
|
||||
return 254
|
||||
fi
|
||||
_tfw_dump_on_fail "$1"
|
||||
_tfw_assert_grep "$1" "$1" "$2" || _tfw_failexit
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user