Searched refs:foo (Results 51 - 75 of 135) sorted by relevance

123456

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dattributes.sh90 x=$(foo=abc $SHELL <<!
91 foo=bar
92 $SHELL -c 'print \$foo'
104 readonly $a=foo
105 if [[ $b != foo ]]
135 unset -f foo
136 function foo function
143 foo 1
147 foo
153 unset foo
282 function foo function
[all...]
H A Dsubstring.sh30 base=/home/dgk/foo//bar
92 if [[ "${string1#@(*/bar|*/foo)}" != //bar/abcabcabc ]]
93 then err_exit "string1#@(*/bar|*/foo)"
95 if [[ ${string1##@(*/bar|*/foo)} != /abcabcabc ]]
96 then err_exit "string1##@(*/bar|*/foo)"
98 if [[ ${string1##*/@(bar|foo)} != /abcabcabc ]]
99 then err_exit "string1##*/@(bar|foo)"
101 foo=abc
102 if [[ ${foo#a[b*} != abc ]]
105 if [[ ${foo//[
[all...]
H A Dfunctions.sh36 integer foo=33
42 1) print -r - "$foo" "$bar";;
44 3) typeset foo=foo
46 print -r - "$foo" "$bar";;
47 4) trap 'foo=36' EXIT
48 typeset foo=20;;
68 if [[ $(bar=foo foobar 1) != '33 foo' ]]
71 if [[ $bar == foo ]]
115 function foo function
152 function foo function
181 function foo function
186 function foo function
203 function foo function
346 function foo function
771 function foo function
873 function foo function
901 function foo function
1019 function foo function
1058 function foo function
1073 function foo function
[all...]
H A Dquoting.sh74 x=$((echo foo)|(cat))
75 if [[ $x != foo ]]
99 set -- ${x+foo bar bam}
101 then err_exit '${x+foo bar bam} does not yield three arguments'
103 set -- ${x+foo "bar bam"}
105 then err_exit '${x+foo "bar bam"} does not yield two arguments'
107 set -- ${x+foo 'bar bam'}
109 then err_exit '${x+foo '\''bar bam'\''} does not yield two arguments'
111 set -- ${x+foo $x bam}
113 then err_exit '${x+foo
[all...]
H A Dbasic.sh87 print hi > .foo
105 if (command > foo\\abc) 2> /dev/null
106 then set -- foo*
107 if [[ $1 != 'foo\abc' ]]
108 then err_exit 'foo* does not match foo\abc'
126 bar=foo
127 eval foo=\$bar
128 if [[ $foo != foo ]]
310 foo() function
[all...]
H A Dvariables.sh117 nameref foo=${.sh.name}.save
118 foo=${.sh.value}
127 nameref foo=${.sh.name}.save
128 .sh.value=$foo
134 typeset +n foo
135 unset foo
136 foo=bar
138 unset foo
140 if [[ $foo != '' ]]
141 then err_exit '$foo no
177 function foo.get function
427 function foo function
545 function foo.set function
[all...]
H A Dgrep.sh92 to see how many lines find both foo and bar.
93 Some line contain foo only,
95 However, many lines contain both foo and also bar.
97 There should be six lines with foo and bar.
98 There are only two line with out foo but with bar.
101 if (( $(grep -c 'foo*bar' $tmp/grep ) != 6))
H A Dsubshell.sh37 z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
50 typeset -A foo=(
66 z.foo[three]=good
67 [[ ${z.foo[three]} == good ]] || err_exit 'associative array assignment in subshell not working'
73 z.foo[two]=ok
74 [[ ${z.foo[two]} == ok ]] || err_exit 'associative array assignment to compound variable in subshell not working'
81 foo=( qqq=abc rrr=def)
86 unset x.foo
87 [[ ${x.foo.qqq} ]] && err_exit 'x.foo
237 function foo function
[all...]
H A Denum.sh45 y[foo]=yellow
46 [[ ${y[foo]} == yellow ]] || err_exit '${y[foo]} != yellow'
47 (( y[foo] == 4 )) || err_exit '(( y[foo] != 4))'
H A Dbracket.sh101 if [[ foo < bar ]]
102 then err_exit "foo comes before bar"
197 [[ foo > bar ]]
198 } 2> /dev/null || { set +x; err_exit "foo<bar with -x enabled" ;}
292 foo=([1]=a [2]=b [3]=c)
293 [[ -v foo[1] ]] || err_exit 'foo[1] should be set'
294 [[ ${foo[1]+x} ]] || err_exit '${foo[1]+x} should be x'
295 [[ ${foo[
[all...]
H A Dtilde.sh90 [[ ~/foo == /foo ]] || err_exit '~/foo should be /foo when ~==/'
94 [[ $($tmp/tilde foo) == "$PWD$nl$PWD" ]] 2> /dev/null || err_exit 'tilde fails inside a script run by name'
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_003_neg.ksh51 if datasetexists $TESTPOOL/foo; then
52 log_must zfs destroy $TESTPOOL/foo
63 log_must zfs create -o mountpoint=legacy $TESTPOOL/foo
66 log_mustnot eval "zfs set mountpoint=$badpath $TESTPOOL/foo >/dev/null 2>&1"
69 log_mustnot eval "zfs set sharenfs=on $TESTPOOL/foo >/dev/null 2>&1"
72 log_mustnot eval "zfs set sharenfs= $TESTPOOL/foo >/dev/null 2>&1"
75 log_mustnot eval "zfs set mountpoint=/$longpath $TESTPOOL/foo >/dev/null 2>&1"
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/struct/
H A Dtst.clauselocal.d31 struct foo {
37 this struct foo bar;
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/ustack/
H A Dtst.helper.c40 foo(void) function
77 foo();
/illumos-gate/usr/src/cmd/sgs/test/ld/x64/tls/ie/
H A Dstyle1-main.s18 .string "foo: %p bar: %p\n"
30 addq $foo@TPOFF, %rsi
41 .globl foo
44 .string "foo"
47 .type foo, @object
48 .size foo, 8
49 foo: label
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/ustack/
H A Dtst.helper.c40 foo(void) function
78 foo();
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_009_neg.ksh57 log_mustnot runat $TESTDIR/myfile.$$ $LN -s /etc/passwd foo
60 log_mustnot runat $TESTDIR/myfile.$$ $LN /etc/passwd foo
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dlintsup.c36 foo() function
/illumos-gate/usr/src/cmd/sgs/ldd/common/
H A Dlintsup.c36 foo() function
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dlintsup.c36 foo() function
/illumos-gate/usr/src/cmd/sgs/pvs/common/
H A Dlintsup.c38 foo() function
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/print/
H A Dtst.bitfield.d30 typedef struct foo {
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/
H A Dtst.libchain.ksh42 inline int foo = bar;
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dlintsup.c62 foo() function
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dauth_none.c94 authnone_verf(AUTH *foo) argument
100 authnone_validate(AUTH *foo, struct opaque_auth *bar) argument
107 authnone_refresh(AUTH *foo, struct rpc_msg *bar, cred_t *cr) argument
114 authnone_destroy(AUTH *foo) argument

Completed in 71 milliseconds

123456