File: test_values_err.sh.in

package info (click to toggle)
gengetopt 2.22.6%2Bdfsg0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,732 kB
  • sloc: cpp: 14,709; sh: 11,845; ansic: 8,030; makefile: 689; yacc: 514; lex: 171; sed: 3
file content (6 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
#! @SHELL@

# the next program must exit with error

if $* ./test_values -s fo ; then false; else if $* ./test_values -S fooa ; then false; else if $* ./test_values --string-values-no-short fooa ; then false; else if $* ./test_values --multistring-values-no-short bar,fooa ; then false; else true; fi fi fi fi