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