From fc86d1d47b61b4ed7b2268337882c3437bf350e9 Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja.osipov@gmail.com> Date: Thu, 24 Feb 2011 19:23:11 +0300 Subject: [PATCH] Adjust regexp pattern in one of of the tests. Adjust regexp pattern in one of the tests that started to fail after an increment in version number. --- test/box/show.result | 2 +- test/box/show.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/box/show.result b/test/box/show.result index d00dfc6d0c..0811fbee18 100644 --- a/test/box/show.result +++ b/test/box/show.result @@ -97,7 +97,7 @@ unimplemented show info --- info: - version: "1.3.minor-<rev>-<commit> + version: "1.minor.patch-<rev>-<commit>" uptime: <uptime> pid: <pid> wal_writer_pid: <pid> diff --git a/test/box/show.test b/test/box/show.test index 2e4de22121..1d0472ceb1 100644 --- a/test/box/show.test +++ b/test/box/show.test @@ -13,7 +13,7 @@ exec sql "insert into t0 values (1, 'tuple')" exec admin "save snapshot" exec sql "delete from t0 where k0 = 1" exec admin "exec module command" -sys.stdout.push_filter("(\d\.\d)\.\d-\d+-\S+", "\\1.minor-<rev>-<commit>") +sys.stdout.push_filter("(\d)\.\d\.\d(-\d+-\S+)?", "\\1.minor.patch-<rev>-<commit>") sys.stdout.push_filter("pid: \d+", "pid: <pid>") sys.stdout.push_filter("uptime: \d+", "uptime: <uptime>") exec admin "show info" -- GitLab