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-nonempty.script | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests.branching/init-nonempty.script') diff --git a/tests.branching/init-nonempty.script b/tests.branching/init-nonempty.script index 959da028..c5c1947c 100755 --- a/tests.branching/init-nonempty.script +++ b/tests.branching/init-nonempty.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" fails when given the name of an existing, +## non-empty directory. -# Test that "morph init" fails when given the name of an existing, -# non-empty directory. +set -eu touch "$DATADIR/workspace/foo" "$SRCDIR/scripts/test-morph" init "$DATADIR/workspace" -- cgit v1.2.1