mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Fix Rhizome test defs: assert_stdout_add_file
If a name=wah argument is supplied, it should override the supplied filename
This commit is contained in:
parent
6824977800
commit
0c0136499e
@ -153,6 +153,7 @@ assert_stdout_add_file() {
|
||||
value="${arg#*=}"
|
||||
fieldname="${arg%%=*}"
|
||||
assertStdoutGrep --matches=1 "^$fieldname:$value\$"
|
||||
eval opt_${fieldname#.}=false
|
||||
;;
|
||||
*)
|
||||
error "unsupported argument: $arg"
|
||||
|
Loading…
Reference in New Issue
Block a user