diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-08-28 15:12:30 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-08-28 16:06:16 +0000 |
commit | bb619f5ca782ab56dbb189f0281e8afd5025ced3 (patch) | |
tree | d6f498bea2d7f18d8949f845f20bb72f86d0ce6d /tests.branching/init-newdir.script | |
parent | f2415383628cb22c5646d96b0e7bbfd6d0629072 (diff) | |
download | morph-bb619f5ca782ab56dbb189f0281e8afd5025ced3.tar.gz |
Create mine directory if it does not exists when running "morph init"
Until now, morph failed when the mine directory did not exist. However,
there is no good reason why it can't attempt to create it.
Diffstat (limited to 'tests.branching/init-newdir.script')
-rwxr-xr-x | tests.branching/init-newdir.script | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests.branching/init-newdir.script b/tests.branching/init-newdir.script index 3bb4a1ba..70c8bb87 100755 --- a/tests.branching/init-newdir.script +++ b/tests.branching/init-newdir.script @@ -17,8 +17,8 @@ set -eu -# Test that "morph init" gives an error when given the name of a -# directory that does not exist yet. +# Test that "morph init" works if given a directory that +# does not exist yet. "$SRCDIR/scripts/test-morph" init "$DATADIR/foo" - +"$SRCDIR/scripts/list-tree" "$DATADIR/foo" |