[Tarantool-patches] [PATCH] test: fix box-py/args.test.py for new release policy
Vladimir Davydov
vdavydov at tarantool.org
Wed Aug 11 18:49:20 MSK 2021
The test assumes that a version string looks like this
2.9.0-123-gabcabcababc. We want to append a flow string
after <major>.<minor>.<patch>. Fix the test accordingly.
Needed for #6183
---
https://github.com/tarantool/tarantool/issues/6183
https://github.com/tarantool/tarantool/tree/vdavydov/fix-test-for-new-release-policy
test/box-py/args.test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/box-py/args.test.py b/test/box-py/args.test.py
index f368da880bdb..012a81a07348 100644
--- a/test/box-py/args.test.py
+++ b/test/box-py/args.test.py
@@ -22,7 +22,7 @@ sys.stdout.push_filter("unrecognized option.*", "unrecognized option")
server.test_option("-Z")
server.test_option("--no-such-option")
server.test_option("--no-such-option --version")
-sys.stdout.push_filter(".* (\d+)\.\d+\.\d+(-\d+-\w+)?", "Tarantool \\1.minor.patch-<rev>-<commit>")
+sys.stdout.push_filter(".* (\d+)\.\d+\.\d+(-\w+)?(-\d+)?(-\w+)?", "Tarantool \\1.minor.patch-<rev>-<commit>")
sys.stdout.push_filter("Target: .*", "Target: platform <build>")
sys.stdout.push_filter(".*Disable shared arena since.*\n", "")
sys.stdout.push_filter("Build options: .*", "Build options: flags")
--
2.25.1
More information about the Tarantool-patches
mailing list