From bb619f5ca782ab56dbb189f0281e8afd5025ced3 Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Tue, 28 Aug 2012 15:12:30 +0000 Subject: 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. --- tests.branching/init-newdir.script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests.branching/init-newdir.script') 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" -- cgit v1.2.1