config.txt: third-party tools may and do use their own variables
[gitweb.git] / t / t5601-clone.sh
index 53a1de9efde08b586d2786ffc1a3018fb7b9dd93..62fbd7e6649d9215528a83249f1b46735de2237d 100755 (executable)
@@ -362,6 +362,14 @@ do
                test_clone_url [::1]:$repo ::1 $repo
        '
 done
+#home directory
+test_expect_success "clone host:/~repo" '
+       test_clone_url host:/~repo host "~repo"
+'
+
+test_expect_success "clone [::1]:/~repo" '
+       test_clone_url [::1]:/~repo ::1 "~repo"
+'
 
 # Corner cases
 for url in foo/bar:baz [foo]bar/baz:qux [foo/bar]:baz