File: test_multiple_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 (17 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! @SHELL@

# the next program must exit with error

if $* ./test_multiple -i 100 -s "foo" -s; then 
	false; 
else 
	if $* ./test_multiple -L1 -L2 -L3 -L4 --limited-open-right=1 --limited-interval=1 --limited-interval=1 --limited-interval=1 --limited-interval=1; then 
		false; 
	else 
		if $* ./test_multiple --limited-open-left=1 --limited-open-left==2 --limited-open-left=3 --limited-open-left=toomuch; then 
			false; 
		else 
			true; 
		fi
	fi
fi