We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b06a0dd commit 63520ffCopy full SHA for 63520ff
tests/journey/gix.sh
@@ -355,6 +355,15 @@ title "gix commit-graph"
355
fi
356
)
357
358
+ (with "the 'clone' sub-command"
359
+ snapshot="$snapshot/clone"
360
+ (with "an ambiguous ssh host which could be mistaken for an argument"
361
+ it "fails without trying to pass it to command-line programs" && {
362
+ WITH_SNAPSHOT="$snapshot/fail-ambigous-host" \
363
+ expect_run $WITH_FAILURE "$exe_plumbing" free pack receive 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'
364
+ }
365
+ )
366
367
(with "the 'index' sub-command"
368
snapshot="$snapshot/index"
369
title "gix free pack index create"
tests/snapshots/plumbing/no-repo/pack/clone/fail-ambigous-host
@@ -0,0 +1 @@
1
+Error: Host name '-oProxyCommand=open$IFS-aCalculator' could be mistaken for a command-line argument
0 commit comments