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
This commit is contained in:
Junio C Hamano
2014-06-16 10:05:37 -07:00
5 changed files with 208 additions and 31 deletions

View File

@ -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" "$@"
}