aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-11-24 13:58:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-11-24 13:58:40 +0300
commit5e40d45fedc7181810d837a77a8a1ca97b5f8665 (patch)
tree33b59913a2ae3c0c0ce296a24c70c07b1641c788 /tests
parent6b625bea1beee70c326e1e32936e66ecc23ba99c (diff)
Adapt to converting local repo canonical name path part to lower case on Windows
Diffstat (limited to 'tests')
-rw-r--r--tests/fetch.testscript6
-rw-r--r--tests/status.testscript4
-rw-r--r--tests/sync.testscript16
-rw-r--r--tests/test.testscript16
4 files changed, 21 insertions, 21 deletions
diff --git a/tests/fetch.testscript b/tests/fetch.testscript
index 9ffd7aa..08ede11 100644
--- a/tests/fetch.testscript
+++ b/tests/fetch.testscript
@@ -35,9 +35,9 @@ deinit += -d prj
depends: libbar
EOI
- $* 2>>/"EOE";
- fetching dir:$~/libbar \(complements dir:$~/prj\)
- fetching dir:$~/libfoo \(prerequisite of dir:$~/prj\)
+ $* 2>>/~%EOE%;
+ %fetching dir:.+/libbar \(complements dir:.+/prj\)%
+ %fetching dir:.+/libfoo \(prerequisite of dir:.+/prj\)%
EOE
$status libfoo libbar >>~%EOO%;
diff --git a/tests/status.testscript b/tests/status.testscript
index 49b5412..bf4339b 100644
--- a/tests/status.testscript
+++ b/tests/status.testscript
@@ -82,10 +82,10 @@ deinit += -d prj
depends: libprj
EOI
- $* --recursive >>EOO 2>>/"EOE"; # Note: implicitly fetches in cfg.
+ $* --recursive >>EOO 2>>/~%EOE%; # Note: implicitly fetches in cfg.
prj configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.19700101000000#1
EOO
- fetching dir:$~/libprj \(prerequisite of dir:$~/prj\)
+ %fetching dir:.+/libprj \(prerequisite of dir:.+/prj\)%
EOE
$sync;
diff --git a/tests/sync.testscript b/tests/sync.testscript
index 68a4c70..c03abbb 100644
--- a/tests/sync.testscript
+++ b/tests/sync.testscript
@@ -50,10 +50,10 @@ deinit += -d prj
}
EOI
- $* -d prj 2>>/~"%EOE%";
- fetching dir:$~/libprj \(prerequisite of dir:$~/prj\)
+ $* -d prj 2>>/~%EOE%;
+ %fetching dir:.+/libprj \(prerequisite of dir:.+/prj\)%
synchronizing:
- % new libprj.+ \\\(required by prj\\\)%
+ % new libprj.+ \(required by prj\)%
% upgrade prj.+19700101000000#1%
EOE
@@ -130,15 +130,15 @@ deinit += -d prj
# Sync the default (cfg1) configuration (via the package directory).
#
- $* -d prj/pkg2 2>>/~"%EOE%";
- fetching dir:$~/libprj \(prerequisite of dir:$~/prj\)
+ $* -d prj/pkg2 2>>/~%EOE%;
+ %fetching dir:.+/libprj \(prerequisite of dir:.+/prj\)%
synchronizing:
- % new libprj.+ \\\(required by pkg1\\\)%
+ % new libprj.+ \(required by pkg1\)%
% upgrade pkg1.+19700101000000#1%
% upgrade pkg2.+19700101000000#1%
EOE
- $status >>~%EOO% 2>>/~"%EOE%"; # Note: implicitly fetches into cfg2.
+ $status >>~%EOO% 2>>/~%EOE%; # Note: implicitly fetches into cfg2.
in configuration @cfg1:
pkg1 configured 0.1.0-a.0.19700101000000#1
% libprj configured 0.+%
@@ -148,7 +148,7 @@ deinit += -d prj
pkg1 configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.19700101000000#1
pkg2 configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.19700101000000#1
EOO
- fetching dir:$~/libprj \(prerequisite of dir:$~/prj\)
+ %fetching dir:.+/libprj \(prerequisite of dir:.+/prj\)%
EOE
# Sync all configurations (via the project directory).
diff --git a/tests/test.testscript b/tests/test.testscript
index 88dadaf..1079ccf 100644
--- a/tests/test.testscript
+++ b/tests/test.testscript
@@ -77,22 +77,22 @@ deinit += -d prj
tags: c++
EOI
- $* -d prj/pkg2 2>>/~"%EOE%"; # Default (cfg1).
- fetching dir:$~/libprj \(prerequisite of dir:$~/prj\)
+ $* -d prj/pkg2 2>>/~%EOE%; # Default (cfg1).
+ %fetching dir:.+/libprj \(prerequisite of dir:.+/prj\)%
synchronizing:
- % new libprj.+ \\\(required by pkg1\\\)%
+ % new libprj.+ \(required by pkg1\)%
% upgrade pkg1.+19700101000000#1%
% upgrade pkg2.+19700101000000#1%
- %\(mkdir|c\\+\\+|ld|test\) .+%{4}
+ %(mkdir|c\+\+|ld|test) .+%{4}
EOE
- $* @cfg2 -d prj/pkg2 2>>/~"%EOE%"; # By name (cfg2).
- fetching dir:$~/libprj \(prerequisite of dir:$~/prj\)
+ $* @cfg2 -d prj/pkg2 2>>/~%EOE%; # By name (cfg2).
+ %fetching dir:.+/libprj \(prerequisite of dir:.+/prj\)%
synchronizing:
- % new libprj.+ \\\(required by pkg1\\\)%
+ % new libprj.+ \(required by pkg1\)%
% upgrade pkg1.+19700101000000#1%
% upgrade pkg2.+19700101000000#1%
- %\(mkdir|c\\+\\+|ld|test\) .+%{4}
+ %(mkdir|c\+\+|ld|test) .+%{4}
EOE
$* -a --recursive -d prj/pkg1 2>>~%EOE% # All configs recursive.