From 2f4523642317f73527d926c55f61e35c02fbf252 Mon Sep 17 00:00:00 2001 From: Timothe Litt Date: Fri, 27 Aug 2021 14:18:00 -0400 Subject: [PATCH] Suppress test failure when release description contains "error" Upgrade test checks for "error" in output. But release descriptions can have "fix error in ..." Don't run this check. Checking that a new version is detected suffices. --- test/32-test-upgrade.bats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/32-test-upgrade.bats b/test/32-test-upgrade.bats index fa000bb..823ec96 100644 --- a/test/32-test-upgrade.bats +++ b/test/32-test-upgrade.bats @@ -101,7 +101,8 @@ teardown() { # Check for current tag or file version otherwise push to master fails on a new version (or if the tag hasn't been updated) assert_line --regexp "A more recent version \(v(${CURRENT_TAG}|${FILE_VERSION})\) than .* of getssl is available, please update" - check_output_for_errors + # output can contain "error" in release description + # check_output_for_errors }