diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-16 10:05:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-16 10:05:38 -0700 |
commit | 79e539404c016e894d8a4db8f43762842a066afc (patch) | |
tree | da07cd8e80c23c5c089ab1042c9e95d7bb1d6083 /t/test-lib-functions.sh | |
parent | Sync with maint (diff) | |
parent | patch-id-test: test stable and unstable behaviour (diff) | |
download | tgif-79e539404c016e894d8a4db8f43762842a066afc.tar.xz |
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.sh | 5 |
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" "$@" } |