tests: check error diagnostics when exec file name is too long
* tests/options-syntax.test: Check error diagnostics when exec file name length equals to PATH_MAX.
This commit is contained in:
parent
146444206c
commit
d55a53c758
@ -65,6 +65,8 @@ check_e_using_grep 'regcomp: \{id: [[:alpha:]].+' -e trace='/{id'
|
||||
check_e_using_grep 'regcomp: \(id: [[:alpha:]].+' -e trace='/(id'
|
||||
check_e_using_grep 'regcomp: \[id: [[:alpha:]].+' -e trace='/[id'
|
||||
|
||||
check_e_using_grep 'exec: File *name too long' "$(printf '%4096s' ' ')"
|
||||
|
||||
check_h 'must have PROG [ARGS] or -p PID'
|
||||
check_h 'PROG [ARGS] must be specified with -D' -D -p $$
|
||||
check_h '-c and -C are mutually exclusive' -c -C true
|
||||
|
Loading…
x
Reference in New Issue
Block a user