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:
Дмитрий Левин 2017-12-13 01:47:33 +00:00
parent 146444206c
commit d55a53c758

View File

@ -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