aboutsummaryrefslogtreecommitdiffstats
path: root/t/reduce-3-full
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xt/reduce-3-full26
1 files changed, 26 insertions, 0 deletions
diff --git a/t/reduce-3-full b/t/reduce-3-full
new file mode 100755
index 0000000..72cabeb
--- /dev/null
+++ b/t/reduce-3-full
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} 1" \
+ common-first \
+ common-second \
+ common-third \
+ "${PARENT} 2" \
+ common-first \
+ common-second \
+ common-third \
+ "${TAIL} 3" \
+ common-first \
+ common-second \
+ common-third \
+ "${END} 3"
+
+printf '%s\n' > file.expected \
+ common-first \
+ common-second \
+ common-third
+
+normal --reduce file
+
+also_interactive r