refs.c: add a strbuf argument to ref_transaction_commit for error logging
[gitweb.git] / t / test-lib-functions.sh
index cf7b41f66de9a0aec151d9f191fa6d4a7f62e7e6..c617c826db94f2e3c0ed01fe079d3ae14ac3b883 100644 (file)
@@ -723,6 +723,11 @@ test_ln_s_add () {
        fi
 }
 
+# This function writes out its parameters, one per line
+test_write_lines () {
+       printf "%s\n" "$@"
+}
+
 perl () {
        command "$PERL_PATH" "$@"
 }