Merge branch 'sb/trailers-docfix'
[gitweb.git] / t / t0090-cache-tree.sh
index 0c61268fd22ade66c6cbd91ad743986b33af0d5d..28ea93f509c0a9a932897e45316be9f188ad4259 100755 (executable)
@@ -156,7 +156,7 @@ test_expect_success PERL 'commit --interactive gives cache-tree on partial commi
                return 44;
        }
        EOT
-       (echo p; echo 1; echo; echo s; echo n; echo y; echo q) |
+       test_write_lines p 1 "" s n y q |
        git commit --interactive -m foo &&
        test_cache_tree
 '