diff options
Diffstat (limited to 'tests/status.test')
-rw-r--r-- | tests/status.test | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/tests/status.test b/tests/status.test index 66de654..12ccc34 100644 --- a/tests/status.test +++ b/tests/status.test @@ -2,12 +2,10 @@ # copyright : Copyright (c) 2014-2018 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -.include common.test git.test project.test +.include common.test project.test cxx = cc "config.cxx=$config.cxx" -snapshot = ($git_supported ? '19700101000000' : 'z') - new += 2>! init += $cxx -d prj 2>! sync += -d prj 2>! @@ -31,7 +29,7 @@ deinit += -d prj $init -C @cfg &prj-cfg/***; - $* >"prj configured 0.1.0-a.0.$snapshot"; + $* >~'%prj configured 0\.1\.0-a\.0\..+%'; $deinit 2>>/"EOE" deinitializing in project $~/prj/ @@ -48,14 +46,14 @@ deinit += -d prj $init -C @cfg1 &prj-cfg1/***; $init -C @cfg2 &prj-cfg2/***; - $* @cfg2 >"prj configured 0.1.0-a.0.$snapshot"; + $* @cfg2 >~'%prj configured 0\.1\.0-a\.0\..+%'; - $* --all >>"EOO"; + $* --all >>~%EOO%; in configuration @cfg1: - prj configured 0.1.0-a.0.$snapshot + %prj configured 0\.1\.0-a\.0\..+% in configuration @cfg2: - prj configured 0.1.0-a.0.$snapshot + %prj configured 0\.1\.0-a\.0\..+% EOO $deinit 2>>/"EOE" @@ -85,16 +83,16 @@ deinit += -d prj depends: libprj EOI - $* --recursive >>"EOO" 2>>/"EOE"; # Note: implicitly fetches in cfg. - prj configured 0.1.0-a.0.$snapshot available 0.1.0-a.0.$snapshot#1 + $* --recursive >>~%EOO% 2>>/"EOE"; # Note: implicitly fetches in cfg. + %prj configured 0\.1\.0-a\.0\..+ available 0\.1\.0-a\.0\..+#1% EOO fetching dir:$~/libprj \(prerequisite of dir:$~/prj\) EOE $sync; - $* --recursive >>~"%EOO%"; - prj configured 0.1.0-a.0.$snapshot#1 + $* --recursive >>~%EOO%; + %prj configured 0\.1\.0-a\.0\..+#1% % libprj configured 0.+% EOO |