aboutsummaryrefslogtreecommitdiffstats
path: root/t/invalid-option-combinations
blob: 527ce63dbd5c7427bb315bb21d9b67043dcf0924 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -e
. t/common.sh

printf '%s\n' text > file
cp -- file file.expected

error --merge --select-head file
error --select-head --merge file
error --merge --select-tail file
error --select-tail --merge file
error --select-head --select-tail file
error --select-tail --select-head file
error --merge --select-head --select-tail file
error --merge --select-tail --select-head file
error --select-head --merge --select-tail file
error --select-head --select-tail --merge file
error --select-tail --merge --select-head file
error --select-tail --select-head --merge file
error --unknown-option file
error '-$' file