From 70564c6457b732e1dd35384971da5df3c5a1665b Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 14 Nov 2012 16:51:48 +0000 Subject: Tidy up command tests Be consistent about placement of test description, blank lines, etc. --- tests.branching/init-newdir.script | 7 ++++--- 1 file changed, 4 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 5e79ce87..1f505d92 100755 --- a/tests.branching/init-newdir.script +++ b/tests.branching/init-newdir.script @@ -1,4 +1,5 @@ #!/bin/sh +# # Copyright (C) 2012 Codethink Limited # # This program is free software; you can redistribute it and/or modify @@ -15,10 +16,10 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -set -eu +## Test that "morph init" works if given a directory that +## does not exist yet. -# Test that "morph init" works if given a directory that -# does not exist yet. +set -eu "$SRCDIR/scripts/test-morph" init "$DATADIR/foo" "$SRCDIR/scripts/list-tree" "$DATADIR/foo" -- cgit v1.2.1