aboutsummaryrefslogtreecommitdiff
path: root/tests/new.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-09 21:44:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-09 21:44:27 +0300
commit4a9790b9d8262f44bd42bfe9af0860873725b32b (patch)
treef39be0aa5ae5514964dc71bd1e98a818f65094f9 /tests/new.test
parent30f6a563fc8c5b2d5c70cd55838aca4e5692b3e4 (diff)
Fix other command testscripts to pass for older git versions
Diffstat (limited to 'tests/new.test')
-rw-r--r--tests/new.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/new.test b/tests/new.test
index 3a62df3..089be60 100644
--- a/tests/new.test
+++ b/tests/new.test
@@ -6,7 +6,7 @@
# Disable nesting checks in the created projects.
#
-test.arguments += --no-checks
+test.arguments += --no-checks --vcs ($git_supported ? git : none)
cxx = "config.cxx=$config.cxx"
@@ -104,10 +104,10 @@ status += -d prj
created new executable project prj in $~/prj/
created configuration @cfg $~/prj-config/ 1 default,forwarded,auto-synchronized
synchronizing:
- % new prj.+19700101000000%
+ % new prj.+%
EOE
- $status >'prj configured 0.1.0-a.0.19700101000000';
+ $status >~'%prj configured 0\.1\.0-a\.0\..+%';
$build prj/ 2>>/EOE
mkdir prj-config/prj/fsdir{prj/}
@@ -129,10 +129,10 @@ status += -d prj
created new executable project prj in $~/prj/
created configuration @cfg $~/prj-cfg/ 1 default,forwarded,auto-synchronized
synchronizing:
- % new prj.+19700101000000%
+ % new prj.+%
EOE
- $status >'prj configured 0.1.0-a.0.19700101000000';
+ $status >~'%prj configured 0\.1\.0-a\.0\..+%';
$build prj/ 2>>/EOE
mkdir prj-cfg/prj/fsdir{prj/}