diff options
Diffstat (limited to 't/all-positive-options-select-tail')
| -rwxr-xr-x | t/all-positive-options-select-tail | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/t/all-positive-options-select-tail b/t/all-positive-options-select-tail new file mode 100755 index 0000000..dbf72a7 --- /dev/null +++ b/t/all-positive-options-select-tail @@ -0,0 +1,23 @@ +#!/bin/sh -e +. t/common.sh +interactive + +printf '%s\n' > file \ + "${HEAD} ours" \ + same \ + ours \ + "${PARENT} base" \ + same \ + base \ + "${TAIL}" \ + same \ + theirs \ + "${END} theirs" + +printf '%s\n' > file.expected \ + same \ + ours + +printf '%s' h > input +normal --select-tail --remove-base --reduce --interactive file 8<input 9>output +test -s output |
