diff options
Diffstat (limited to 't/reduce-2-multiple-partial')
| -rwxr-xr-x | t/reduce-2-multiple-partial | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/t/reduce-2-multiple-partial b/t/reduce-2-multiple-partial new file mode 100755 index 0000000..eaf4ba5 --- /dev/null +++ b/t/reduce-2-multiple-partial @@ -0,0 +1,53 @@ +#!/bin/sh -e +. t/common.sh + +printf '%s\n' > file \ + "${HEAD} 1" \ + head-common-first \ + head-common-second \ + branch-1-first-a \ + branch-1-first-b \ + middle-common-first \ + middle-common-second \ + branch-1-second-a \ + branch-1-second-b \ + tail-common-first \ + tail-common-second \ + "${TAIL} 2" \ + head-common-first \ + head-common-second \ + branch-2-first-a \ + branch-2-first-b \ + middle-common-first \ + middle-common-second \ + branch-2-second-a \ + branch-2-second-b \ + tail-common-first \ + tail-common-second \ + "${END} 2" + +printf '%s\n' > file.expected \ + head-common-first \ + head-common-second \ + "${HEAD} 1" \ + branch-1-first-a \ + branch-1-first-b \ + "${TAIL} 2" \ + branch-2-first-a \ + branch-2-first-b \ + "${END} 2" \ + middle-common-first \ + middle-common-second \ + "${HEAD} 1" \ + branch-1-second-a \ + branch-1-second-b \ + "${TAIL} 2" \ + branch-2-second-a \ + branch-2-second-b \ + "${END} 2" \ + tail-common-first \ + tail-common-second + +conflict --reduce file + +also_interactive rrr |
