]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5603-clone-dirname.sh
clone: do not include authentication data in guessed dir
[thirdparty/git.git] / t / t5603-clone-dirname.sh
index 765cc434ef64daac6a2383e32aabbf5581345b78..0307462b03688e1f364e5a3949b45a4445914133 100755 (executable)
@@ -77,11 +77,11 @@ test_clone_dir host:foo/.git/// foo
 # omitting the path should default to the hostname
 test_clone_dir ssh://host/ host
 test_clone_dir ssh://host:1234/ host fail
-test_clone_dir ssh://user@host/ host fail
+test_clone_dir ssh://user@host/ host
 test_clone_dir host:/ host fail
 
 # auth materials should be redacted
-test_clone_dir ssh://user:password@host/ host fail
+test_clone_dir ssh://user:password@host/ host
 test_clone_dir ssh://user:password@host:1234/ host fail
 test_clone_dir ssh://user:passw@rd@host:1234/ host fail
 test_clone_dir user@host:/ host fail