Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-06-16 21:05:37 +0400
committerJunio C Hamano <gitster@pobox.com>2014-06-16 21:05:38 +0400
commit79e539404c016e894d8a4db8f43762842a066afc (patch)
treeda07cd8e80c23c5c089ab1042c9e95d7bb1d6083 /t/test-lib-functions.sh
parent75cc6c67e25656c1b19c7c8f6ca29d1463aefef4 (diff)
parent8f2514e95fe142954d1dd4408cc7cb413a275844 (diff)
Merge branch 'mt/patch-id-stable' (early part)
* 'mt/patch-id-stable' (early part): patch-id-test: test stable and unstable behaviour patch-id: make it stable against hunk reordering test doc: test_write_lines does not split its arguments test: add test_write_lines helper
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r--t/test-lib-functions.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 158e10a67e..f5815350d3 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -717,6 +717,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" "$@"
}