Lines Matching refs:script

34 #  These first two tests are testing how well the regression-script itself is
39 script:/bin/echo A-${TESTVAR}-Z
44 script:/bin/echo A-${TESTVAR}-Z
50 script:/bin/echo A-${TESTVAR}-Z
55 script:/bin/echo A-${TESTVAR}-Z
60 script:/bin/echo A-${TESTVAR}-Z
70 script:/bin/echo A-${PATH}-Z
77 script:/bin/echo A-${PATH}-Z
82 script:/bin/echo A-${PATH}-Z
91 script:/bin/echo A-${PATH}-Z
92 script:/bin/echo B-${ENV_PATH}-Y
102 script:/bin/echo A-${TESTVAR}-Z B-$1-Y
108 script:/bin/echo A-${TESTVAR}-Z B-$1-Y
114 script:/bin/echo A-${TESTVAR}-Z B-$1-Y
120 script:/bin/echo A-${TESTVAR}-Z B-$1-Y
127 script:/bin/echo A-${TESTVAR}-Z
132 script:/bin/echo A-${TESTVAR}-Z
137 script:/bin/echo A-${TESTVAR}-Z
142 script:/bin/echo A-${TESTVAR}-Z
147 script:/bin/echo A-${TESTVAR}-Z
152 script:/bin/echo "A-${TESTVAR}-Z"
157 script:/bin/echo "A-${TESTVAR}-Z"
164 script:/bin/echo A-${TESTVAR}-M-${OTHERVAR}-Z
169 script:/bin/echo "A-${TESTVAR}-Z"
175 script:/bin/echo "A-${TESTVAR}-Z"
184 script:/bin/echo "A-${TESTVAR}-Z"
190 script:/bin/echo "A-${TESTVAR}-Z"
196 script:/bin/echo "A-${TESTVAR}-Z"
204 script:/bin/echo "A-${TESTVAR}-Z"
209 script:/bin/echo "A-${TESTVAR}-Z"
215 script:/bin/echo "A-${TESTVAR}-Z"
235 script:/bin/echo "=== set ==="
236 script:# drop some environment variables that 'sh' itself sets, and
237 script:# then have 'set' print out all remaining environment variables.
238 script:# (can't unset OPTIND/PWD, so we use grep to get rid of those)
239 script:unset -v IFS PS1 PS2 PS4 PPID
240 script:set | grep -Ev '^(OPTIND|PWD)=' | sort
255 stdout:Testv:ab/ba Scriptname: [%-script.pathname-%]
260 stdout:testV: cd/dc scriptname: [%-script.pathname-%]
265 # nothing. Note the tricks we play with [%-script.pathname-%] so that we
266 # can supply parameters *to* the script, even though the kernel is always
267 # going to stick the script name on as ARG[2] when invoking `env'.
269 sb_args:-S/bin/sh [%-script.pathname-%] userDQ: "" SQ: '' scriptname:
271 script:printf "list_args.sh with \$# = $#\n"
272 script:# Process all parameters.
273 script:N=0
274 script:while test $# != 0 ; do
275 script: N=$(($N+1))
276 script: printf "....\$$N = [%3d] '$1'\n" ${#1}
277 script: shift
278 script:done
288 sb_args:-S/bin/sh [%-script.pathname-%] userB "${TNADA}" scriptname:
290 script:printf "list_args.sh with \$# = $#\n"
291 script:# Process all parameters.
292 script:N=0
293 script:while test $# != 0 ; do
294 script: N=$(($N+1))
295 script: printf "....\$$N = [%3d] '$1'\n" ${#1}
296 script: shift
297 script:done
305 sb_args:-S/bin/sh [%-script.pathname-%] userA ${TNADA} scriptname:
307 script:printf "list_args.sh with \$# = $#\n"
308 script:# Process all parameters.
309 script:N=0
310 script:while test $# != 0 ; do
311 script: N=$(($N+1))
312 script: printf "....\$$N = [%3d] '$1'\n" ${#1}
313 script: shift
314 script:done
318 stdout:....$3 = [ 16] '[%-script.pathname-%]'
321 sb_args:-S/bin/sh [%-script.pathname-%] ${A} ${NB} ${C} ${ND} ${NE} ${F} S:
328 script:printf "list_args.sh with \$# = $#\n"
329 script:# Process all parameters.
330 script:N=0
331 script:while test $# != 0 ; do
332 script: N=$(($N+1))
333 script: printf "....\$$N = [%3d] '$1'\n" ${#1}
334 script: shift
335 script:done
344 sb_args:-S/bin/sh [%-script.pathname-%] ${A} ${NB} "${NB}" ${NB} ${C} "${ND}" ${NE} ${F} S:
351 script:printf "list_args.sh with \$# = $#\n"
352 script:# Process all parameters.
353 script:N=0
354 script:while test $# != 0 ; do
355 script: N=$(($N+1))
356 script: printf "....\$$N = [%3d] '$1'\n" ${#1}
357 script: shift
358 script:done
375 …hisisAlongstring_B1 C_ThisisAlongstring_C1 D_ThisisAlongstring_D1 ScriptName: [%-script.pathname-%]
383 …hisisAlongstring_B1 C_ThisisAlongstring_C1 D_ThisisAlongstring_D1 ScriptName: [%-script.pathname-%]
388 script:[%-testpgm.pathname-%] -S '\c' >/dev/null
392 script:[%-testpgm.pathname-%] -S'\c' >/dev/null
396 script:[%-testpgm.pathname-%] -u foo -S '\c' >/dev/null
400 script:[%-testpgm.pathname-%] -u foo -S'\c' >/dev/null
404 script:[%-testpgm.pathname-%] -S '-u bar \c' >/dev/null
408 script:[%-testpgm.pathname-%] -S'-u bar \c' >/dev/null
412 script:[%-testpgm.pathname-%] -u foo -S '-u bar \c' >/dev/null
416 script:[%-testpgm.pathname-%] -u foo -S'-u bar \c' >/dev/null