aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-fetch.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-22 22:04:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-22 22:04:51 +0300
commit7b5a0b55569331560f9cb6439ee818c3ce5d8428 (patch)
tree716701cfb044388fe6c33d1746a0292189c56147 /tests/rep-fetch.testscript
parent5384724d937196e1e3f5c15fe443c0bff07896e6 (diff)
Quote directory paths in buildspecs
Also fix some tests to properly work if the project path contain spaces.
Diffstat (limited to 'tests/rep-fetch.testscript')
-rw-r--r--tests/rep-fetch.testscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rep-fetch.testscript b/tests/rep-fetch.testscript
index ba707c2..bc52f2e 100644
--- a/tests/rep-fetch.testscript
+++ b/tests/rep-fetch.testscript
@@ -769,6 +769,8 @@ else
? "file:$~" \
: "file:/$regex.replace($~, '\\', '/')");
+ rep = "$regex.replace($rep, ' ', '%20')";
+
$* "$rep/libbar.git#master" 2>>~%EOE% &cfg/.bpkg/repos/*/***;
%added git:.+libbar#master%
%querying .+libbar\.git%