tests/test-clone-failure
changeset 5087 1b970cdab695
parent 3988 9dcf9d45cab8
equal deleted inserted replaced
5086:4cf6f8dbd1b4 5087:1b970cdab695
    24 cd ..
    24 cd ..
    25 chmod 700 a
    25 chmod 700 a
    26 rm -r a b
    26 rm -r a b
    27 
    27 
    28 # Source of wrong type
    28 # Source of wrong type
    29 mkfifo a
    29 if "$TESTDIR/hghave" -q fifo; then
    30 hg clone a b
    30     mkfifo a
    31 echo $?
    31     hg clone a b
    32 rm a
    32     echo $?
       
    33     rm a
       
    34 else
       
    35     echo "abort: repository a not found!"
       
    36     echo 255
       
    37 fi
    33 
    38 
    34 # Default destination, same directory
    39 # Default destination, same directory
    35 mkdir q
    40 mkdir q
    36 cd q
    41 cd q
    37 hg init
    42 hg init