aboutsummaryrefslogtreecommitdiffstats
path: root/t/reduce-5-full
diff options
context:
space:
mode:
Diffstat (limited to 't/reduce-5-full')
-rwxr-xr-xt/reduce-5-full34
1 files changed, 34 insertions, 0 deletions
diff --git a/t/reduce-5-full b/t/reduce-5-full
new file mode 100755
index 0000000..439a510
--- /dev/null
+++ b/t/reduce-5-full
@@ -0,0 +1,34 @@
+#!/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 \
+ "${PARENT} 3" \
+ common-first \
+ common-second \
+ common-third \
+ "${PARENT} 4" \
+ common-first \
+ common-second \
+ common-third \
+ "${TAIL} 5" \
+ common-first \
+ common-second \
+ common-third \
+ "${END} 5"
+
+printf '%s\n' > file.expected \
+ common-first \
+ common-second \
+ common-third
+
+normal --reduce file
+
+also_interactive r