t9164: Add missing quotes in test
authorRobert Luberda <robert@debian.org>
Sun, 19 Aug 2012 22:43:19 +0000 (00:43 +0200)
committerEric Wong <normalperson@yhbt.net>
Fri, 5 Oct 2012 22:48:12 +0000 (22:48 +0000)
This fixes `ambiguous redirect' error given by bash.

[ew: fix misspelled test name,
     also eliminate space after ">>" to conform to guidelines]

Signed-off-by: Eric Wong <normalperson@yhbt.net>
t/t9164-git-svn-dcommit-concurrent.sh [moved from t/t9164-git-svn-dcommit-concrrent.sh with 97% similarity]

similarity index 97%
rename from t/t9164-git-svn-dcommit-concrrent.sh
rename to t/t9164-git-svn-dcommit-concurrent.sh
index aac2ddadf2a9a93ee692712c9445389b08dcc6d5..d8464d4218316a51aa0db70bc57919d083d647ac 100755 (executable)
@@ -60,11 +60,11 @@ setup_hook()
                [ "$cnt" = "0" ] || exit 0
 EOF1
        if [ "$hook_type" = "pre-commit" ]; then
-               echo "echo 'commit disallowed' >&2; exit 1" >> "$hook"
+               echo "echo 'commit disallowed' >&2; exit 1" >>"$hook"
        else
-               echo "PATH=\"$PATH\"; export PATH" >> $hook
-               echo "svnconf=\"$svnconf\"" >> $hook
-               cat >> "$hook" <<- 'EOF2'
+               echo "PATH=\"$PATH\"; export PATH" >>"$hook"
+               echo "svnconf=\"$svnconf\"" >>"$hook"
+               cat >>"$hook" <<- 'EOF2'
                        cd work-auto-commits.svn
                        svn up --config-dir "$svnconf"
                        echo "$$" >> auto_updated_file