Searched refs:hello (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dheredoc.sh37 hello world
39 if [[ $(<$f) != 'hello world' ]]
40 then err_exit "'hello world' here doc not working"
43 hello world
45 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted here doc not working"
47 hello world
49 cmp $f $g 2> /dev/null || err_exit "'hello world' tabbed here doc not working"
51 hello world
53 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted tabbed here doc not working"
54 x=hello
[all...]
H A Dalias.sh34 alias foo='print hello'
35 if [[ $(foo) != hello ]]
36 then err_exit 'foo, where foo is alias for "print hello" failed'
38 if [[ $(foo world) != 'hello world' ]]
39 then err_exit 'foo world, where foo is alias for "print hello" failed'
41 alias foo='print hello '
43 if [[ $(foo bar) != 'hello world' ]]
44 then err_exit 'foo bar, where foo is alias for "print hello " failed'
46 if [[ $(foo \bar) != 'hello bar' ]]
47 then err_exit 'foo \bar, where foo is alias for "print hello " faile
[all...]
H A Dsun_solaris_cr_6862121_shbinexec_kernel_module_defunct.sh44 # print hello
52 # hello
92 print hello
102 [[ "${out}" == $'hello\nargs=a\nargs=b\nargs=c d' ]] || err_exit "Expected xxx, got $(printf "%q\n" "$out")"
H A Dsun_solaris_staticvariables.sh84 typeset -a -S s=( "hello" )
H A Dbasic.sh207 print ./b > ./a; print ./c > b; print ./d > c; print ./e > d; print "echo \"hello there\"" > e
210 if [[ $x != "hello there" ]]
214 if [[ $x != "hello there" ]]
223 x=$(print hello)
224 if [[ $x != hello ]]
230 /bin/echo hello
233 if [[ $x != $'\n'hello ]]
236 x=$( (/bin/echo hello) 2> /dev/null )
237 if [[ $x != hello ]]
353 then [[ $(cat <(print hello) )
[all...]
H A Drestricted.sh53 [[ $(rksh -c 'print hello') == hello ]] || err_exit 'unable to run print'
63 print 'echo hello' > script
67 print '/bin/echo hello' > script
69 print 'echo hello> file' > script
75 print hello
H A Dreturn.sh154 print hello
157 if [[ $x != hello ]]
H A Dnameref.sh40 foo=hello
57 if [[ ${.foo.bar} != hello ]]
58 then err_exit ".foo.bar=${.foo.bar} != hello"
92 [[ ${.sh.value} ]] && print hello
127 foo=hello
128 if [[ $bar != hello ]]
252 typeset var=( foo=hello)
257 ) == *foo=hello* ]] || err_exit 'unable to display compound variable from name reference of local variable'
H A Dcomvar.sh287 hello=ok
293 foo2.hello=notok foo2.yes.yex=no foo2.extra=yes.
308 typeset x=( typeset -a foo=( [1][3]=hello [9][2]="world" ) )
349 z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
350 z.bar[0]=hello
355 [0]=hello
363 [one]=hello
426 typeset -C -A hello=( [foo]=bar)
427 [[ $(typeset -p hello) == 'typeset -C -A hello
[all...]
H A Dio.sh141 print hello
147 [[ $( $SHELL ./script) == $'hello\nworld' ]] || err_exit 'closing 3 & 4 causes script to fail'
207 if [[ $newio && $(print hello | while read -u$n; do print $REPLY; done {n}<&0) != hello ]]
211 hello
292 hello world
293 EOF) == 'hello world' ]] || err_exit 'invalid readahead on stdin'
296 print hello > $tmp/1
298 then [[ $(<$tmp/1) == hello ]] || err_exit '>; not preserving file on failure'
300 if ! $SHELL -c "sed -e 's/hello/hell
[all...]
H A Dbuiltins.sh75 hello world
77 [[ $REPLY = 'hello world' ]] || err_exit "read builtin failed"
83 hello \
86 [[ $REPLY = 'hello world' ]] || err_exit "read continuation failed"
88 hello worldxfoobar
90 [[ $REPLY = 'hello world' ]] || err_exit "read builtin failed"
92 hello \
96 [[ $REPLY == 'hello world' ]] || err_exit "read continuation2 failed"
125 print -f "hello%nbar\n" size > /dev/null
135 $SHELL -c 'read x <<< hello'
[all...]
H A Dfunctions.sh135 fun() /bin/echo hello
136 if [[ $(fun) != hello ]]
183 print hello
194 if [[ $(foo) != hello ]]
768 [[ $(foo=hello g) == hellobam ]] || err_exit 'function exports not passed on'
769 [[ $(bar=hello g) == bam ]] || err_exit 'function exports not overridden'
H A Dattributes.sh169 w1=hello
197 hello worldhello worldhello world
219 export foo=hello
221 [[ $foo == hello ]] || err_exit 'export scoping problem in function'
224 [[ $(export | grep foo) == 'foo=hello' ]] || err_exit 'export not working in functions'
H A Dquoting2.sh99 x=hello
H A Dsubshell.sh37 z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
38 z.bar[0]=hello
43 [0]=hello
51 [one]=hello
262 print "hello world"
273 print "hello world"
H A Dcoprocess.sh50 print -p "hello"
52 [[ $line == hello ]] || err_exit 'coprocessing fails'
54 print -u5 'hello again' || err_exit 'write on u5 fails'
56 [[ $line == 'hello again' ]] || err_exit 'coprocess after moving fds fails'
107 print -p $'print hello | cat\nprint '$exp
H A Dquoting.sh98 x=hello
156 x=' hello world '
H A Dsignal.sh43 do print hello
H A Doptions.sh39 if [[ $( ${SHELL-ksh} -s hello<<-\!
42 ) != hello ]]
53 [[ $($SHELL -D -c 'print hi; print $"hello"') == '"hello"' ]] || err_exit 'ksh -D not working'
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_009_pos.ksh79 echo hello > world
94 echo hello > world
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dexample.c29 z_const char hello[] = "hello, hello!"; variable
30 /* "hello world" would be more standard, but the repeated "hello"
34 const char dictionary[] = "hello";
93 uLong len = (uLong)strlen(hello)+1;
95 err = compress(compr, &comprLen, (const Bytef*)hello, len);
103 if (strcmp((char*)uncompr, hello)) {
123 int len = (int)strlen(hello)
[all...]
/illumos-gate/usr/src/boot/lib/libz/
H A DMakefile69 echo hello world | ./minigzip | ./minigzip -d )
/illumos-gate/usr/src/cmd/dtrace/demo/
H A DMakefile47 hello.d \
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dshircbot.sh362 printf "Subcommands are 'say hello', 'math <math-expr>', 'stocks', 'uuid', 'date' and 'echo'."
378 ~(Eli)say\ hello)
/illumos-gate/usr/src/lib/libdtrace_jni/java/
H A DMakefile228 $(DOCEXAMPLESDESTDIR)/hello.d \

Completed in 125 milliseconds

12