aboutsummaryrefslogtreecommitdiffstats
path: root/t/select-head-4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xt/select-head-422
1 files changed, 22 insertions, 0 deletions
diff --git a/t/select-head-4 b/t/select-head-4
new file mode 100755
index 0000000..6c9c9dd
--- /dev/null
+++ b/t/select-head-4
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+. t/common.sh
+
+printf '%s\n' > file \
+ "${HEAD} head" \
+ head \
+ "${PARENT} 2" \
+ second \
+ "${PARENT} 3" \
+ third \
+ "${PARENT} 4" \
+ fourth \
+ "${TAIL}" \
+ tail \
+ "${END} tail"
+
+printf '%s\n' > file.expected \
+ head
+
+normal --select-head --no-reduce file
+
+also_interactive h