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