test: fix invalid redirection for histedit text
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Sun, 14 Oct 2012 23:03:58 +0200
changeset 17764 c1b661ee29ff
parent 17763 13070de77c86
child 17765 ef7760f0be87
test: fix invalid redirection for histedit text Appending to the file is wrong, we want new content.
tests/test-histedit-obsolete.t
--- a/tests/test-histedit-obsolete.t	Sat Oct 13 15:03:00 2012 -0500
+++ b/tests/test-histedit-obsolete.t	Sun Oct 14 23:03:58 2012 +0200
@@ -58,7 +58,7 @@
   #  m, mess = edit message without changing commit content
   #
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  $ cat >> commands.txt <<EOF
+  $ cat > commands.txt <<EOF
   > pick 177f92b77385 2 c
   > drop d2ae7f538514 1 b
   > pick 055a42cdd887 3 d