summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-19 22:19:31 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-19 22:19:31 +0100
commit6b96b8bee08aad471f89b9290d8972ba9fc7effb (patch)
tree92846b8e1c006b2796be6313ccf697fe6b644088 /tests
parentea47dd8b3dcb8528e8fdfa7bd86bb890d2ca79d7 (diff)
test suite: tag-to-upload tests: Make message checks regexps
No functional change yet. All the existing message strings are already equivalently valid when interpreted by egrep. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/tagupl12
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 () {