tests/test-init
changeset 3713 8ae88ed2a3b6
parent 3034 3acb76f0124d
child 4166 c0271aba6abe
equal deleted inserted replaced
3712:1bd70d40ec57 3713:8ae88ed2a3b6
    54 
    54 
    55 echo "# check names for repositories (clashes with URL schemes, special chars)"
    55 echo "# check names for repositories (clashes with URL schemes, special chars)"
    56 for i in bundle file hg http https old-http ssh static-http " " "with space"; do
    56 for i in bundle file hg http https old-http ssh static-http " " "with space"; do
    57   echo "# hg init \"$i\""
    57   echo "# hg init \"$i\""
    58   hg init "$i"
    58   hg init "$i"
    59   test -d "$i" -a -d "$i/.hg" -a -d "$i/.hg/data" && echo "ok" || echo "failed"
    59   test -d "$i" -a -d "$i/.hg" && echo "ok" || echo "failed"
    60 done
    60 done
    61 
    61