Lines Matching +full:- +full:g +full:-
3 # Copyright (c) 2007-2008 Sean C. Farley <scf@FreeBSD.org>
37 result=`./envctl -t "${@}"`
39 if [ ${?} -ne 0 ]
54 echo "${result}" | sed 's/[ \t]*$//' | grep -q "^${@}$"
55 if [ ${?} -eq 0 ]
59 echo "not ok ${testndx} - '${lasttest}'"
80 run_test -g FOO
83 run_test -c 3 -g FOO
86 run_test -g FOOBAR
89 run_test -c 3 -g FOOBAR
92 run_test -G
97 run_test -c 1 -g FOO
100 run_test -c 2 -g FOO
103 run_test -c 3 -g FOO
106 run_test -c 4 -g FOO
111 run_test -c 1 -g FOO -s FOO2 ${NEWBAR} 1 -g FOO -g FOO2
114 run_test -c 2 -g FOO -s FOO2 ${NEWBAR} 1 -g FOO -g FOO2
117 run_test -c 3 -g FOO -s FOO2 ${NEWBAR} 1 -g FOO -g FOO2
120 run_test -c 4 -g FOO -s FOO2 ${NEWBAR} 1 -g FOO -g FOO2
125 run_test -s FOO ${NEWBAR} 0 -g FOO
128 run_test -s FOO ${NEWBAR} 1 -g FOO
131 run_test -c 3 -s FOO ${NEWBAR} 0 -g FOO
134 run_test -c 3 -s FOO ${NEWBAR} 1 -g FOO
137 run_test -s "FOO=" ${NEWBAR} 1 -g FOO
138 check_result "-1 22 ${BAR}"
140 run_test -s "=FOO" ${NEWBAR} 1
141 check_result "-1 22"
143 run_test -s "=" ${NEWBAR} 1
144 check_result "-1 22"
146 run_test -s "" ${NEWBAR} 1
147 check_result "-1 22"
149 run_test -S ${NEWBAR} 1
150 check_result "-1 22"
152 run_test -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1 -g FOO
155 run_test -c 3 -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1 -g FOO
158 run_test -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1 -s FOO ${NEWBAR} 1 -g FOO
161 run_test -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1 -s FOO ${NEWBAR} 1 -s FOO ${BAR} 1\
162 -g FOO
165 run_test -c 3 -s FOO ${BAR} 1 -g FOO -c 3 -s FOO ${NEWBAR} 1 -g FOO
170 run_test -u FOO -g FOO
173 run_test -c 3 -u FOO -g FOO
176 run_test -U
177 check_result "-1 22"
179 run_test -u ""
180 check_result "-1 22"
182 run_test -u "=${BAR}"
183 check_result "-1 22"
185 run_test -c 3 -s FOO ${NEWBAR} 1 -g FOO -u FOO -g FOO
188 run_test -c 3 -u FOO -s FOO ${BAR} 1 -g FOO -u FOO -g FOO -c 3 -u FOO\
189 -s FOO ${NEWBAR} 1 -g FOO
194 run_test -p FOO=${NEWBAR} -g FOO
197 run_test -c 3 -p FOO=${NEWBAR} -g FOO
200 run_test -p FOO -g FOO
201 check_result "-1 22 ${BAR}"
203 run_test -p FOO=${BAR} -p FOO=${NEWBAR} -g FOO
206 run_test -p FOO=${BAR} -s FOO ${NEWBAR} 1 -g FOO
209 run_test -s FOO ${NEWBAR} 1 -p FOO=${BAR} -g FOO
212 run_test -p FOO=${BAR} -u FOO
215 run_test -p FOO=${BAR} -s FOO ${NEWBAR} 1 -u FOO
218 run_test -s FOO ${NEWBAR} 1 -p FOO=${BAR} -u FOO
221 run_test -s FOO ${NEWBAR} 1 -p FOO=${BAR} -c 3 -g FOO -p FOO=${NEWBAR} -g FOO
224 run_test -c 3 -p FOO=${BAR} -g FOO -c 3 -p FOO=${NEWBAR} -g FOO
229 run_test -r -g FOO -s FOO ${BAR} 1 -g FOO -u FOO -g FOO
232 run_test -r -g FOO -u FOO -g FOO -s FOO ${BAR} 1 -g FOO
239 run_test -b BLANK_ME -p MORE=vars -g FOO -g BLANK_ME -g AFTER_BLANK
242 run_test -b BLANK_ME -u FOO -g FOO -g AFTER_BLANK
247 run_test -b BLANK_ME -b AFTER_BLANK -b BLANK_ME2 -g FOO -g AFTER_BLANKS