diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/tagupl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tests/tagupl b/tests/tests/tagupl index 0f6ff98..f7ed6e6 100755 --- a/tests/tests/tagupl +++ b/tests/tests/tagupl @@ -72,19 +72,19 @@ with-mangled () { expect-quit () { next-mangle "$1" local perl=$2 - local mstring=$3 + local mregexp=$3 with-mangled "$perl" - grep ": $mstring" ../tagupl/overall.log + egrep ": $mregexp" ../tagupl/overall.log } expect-email () { next-mangle "$1" local perl=$2 - local mstring=$3 + local mregexp=$3 with-mangled "$perl" - grep 'Was not successful' ../sendmail.log - grep "$mstring" ../sendmail.log - grep ": failed, emailed" ../tagupl/overall.log + egrep 'Was not successful' ../sendmail.log + egrep "$mregexp" ../sendmail.log + egrep ": failed, emailed" ../tagupl/overall.log } raw-mangled () { |