aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-01-21 18:57:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-01-21 19:01:10 +0300
commite545cd72aed207b139f0c17441b8e03b640fbd57 (patch)
treed5f643b7cf880a135bc46b6db09b6d52969bb377
parentd7dd0b4a865a8e60a8e308090fab548033fcd3da (diff)
Fix b-info test to properly run in project source directory
-rw-r--r--tests/b-info/testscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/b-info/testscript b/tests/b-info/testscript
index 2568422..ee04f55 100644
--- a/tests/b-info/testscript
+++ b/tests/b-info/testscript
@@ -48,9 +48,12 @@ test.options += -b $recall($build.path)
touch prj/subprj/buildfile;
+ # Note: may produce an actual version snapshot id if the testscript runs
+ # inside the libbutl project source directory.
+ #
$* prj >>/~"%EOO%";
project: prj
- version: 1.2.3-a.0.z
+ %version: 1.2.3-a.0.\\.+%d
summary: test project
url:$sp
%src_root: .+/prj/%