aboutsummaryrefslogtreecommitdiff
path: root/tests/remote-git.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-07-07 20:02:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-07-07 20:02:31 +0300
commitfbcdab1afc8af7001ed2ade6bb972d559cd55553 (patch)
treeb28a1827d5e88ef23e0fb697a912fe025d7b9974 /tests/remote-git.testscript
parentf9cef3e7cebc66605e12a784c2439708650c6f19 (diff)
Use [cmdline] type for canned commands in testscripts
Diffstat (limited to 'tests/remote-git.testscript')
-rw-r--r--tests/remote-git.testscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/remote-git.testscript b/tests/remote-git.testscript
index 0885abd..b4ed398 100644
--- a/tests/remote-git.testscript
+++ b/tests/remote-git.testscript
@@ -72,6 +72,7 @@ end
# will use the same options as we do for unpacking of package archives (see
# pkg-unpack.cxx).
#
-git_extract = ($cxx.target.class != 'windows' \
+git_extract = [cmdline] \
+ ($cxx.target.class != 'windows' \
? tar -C $out_git -xf \
: tar -C $regex.replace($out_git, '\\', '/') --force-local -xf)