tests/test-clone-failure.out
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 29 Jul 2005 15:11:05 +0100
changeset 798 c28f9feb7c2e
parent 793 445970ccf57a
child 801 1f9ec150a476
permissions -rw-r--r--
Make tests work on Solaris: - replacement for mktemp - fall back if shell arithmetic doesn't work - replacement for 'set -x' (which results look different with some shells) - "FOO=bar; export FOO" instead of "export FOO=bar" - don't use 'if ! ...'

+ hg clone a b
abort: repository a/.hg not found!
+ echo 255
255
+ hg clone http://127.0.0.1:3121/a b
requesting all changes
abort: error: Connection refused
+ echo 255
255
+ rm -rf b
+ mkdir a
+ chmod 000 a
+ hg clone a b
abort: repository a/.hg not found!
+ echo 255
255
+ mkdir b
+ cd b
+ hg init
+ hg clone . ../a
abort: destination '../a' already exists
+ echo 1
1
+ cd ..
+ chmod 700 a
+ rm -rf a b
+ mkfifo a
+ hg clone a b
abort: repository a/.hg not found!
+ echo 255
255
+ rm a
+ mkdir q
+ cd q
+ hg init
+ cd ..
+ hg clone q
abort: destination 'q' already exists
+ true