Mercurial > public > mercurial-scm > hg-stable
diff tests/test-clone-failure.t @ 13956:ffb5c09ba822
tests: remove redundant mkdir
There are still many tests that check that a bare 'hg init'
initializes the current directory.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 19 Apr 2011 12:04:44 +0200 |
parents | bdb73eede5fb |
children | a1914d214579 |
line wrap: on
line diff
--- a/tests/test-clone-failure.t Mon Apr 18 20:52:08 2011 -0500 +++ b/tests/test-clone-failure.t Tue Apr 19 12:04:44 2011 +0200 @@ -21,9 +21,8 @@ Inaccessible destination - $ mkdir b + $ hg init b $ cd b - $ hg init $ hg clone . ../a abort: Permission denied: ../a [255] @@ -44,10 +43,7 @@ Default destination, same directory - $ mkdir q - $ cd q - $ hg init - $ cd .. + $ hg init q $ hg clone q destination directory: q abort: destination 'q' is not empty