Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/titanic_41/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dinherit.kshlib64 typeset expected=$3
75 if [[ $expected == "default" ]]; then
76 if [[ $prop_src != $expected ]]; then
78 " $prop_src rather than $expected"
81 elif [[ $expected == "local" ]]; then
82 if [[ $prop_src != $expected ]]; then
84 " $prop_src rather than $expected"
87 elif [[ $prop_src != "inherited from $expected" ]]; then
88 log_note "Property $prop of $expected has source $prop_src"\
89 " rather than 'inherited from $expected'"
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dtypes.sh121 expected=2
123 [[ "$got" == "$expected" ]] || err_exit "typedefs in dot script failed -- expected '$expected', got…
201 expected=aha
203 [[ "$got" == "$expected" ]] || err_exit "type '_' reference failed -- expected '$expected', got '$g…
217 expected=foo
219 [[ "$got" == "$expected" ]] || err_exit "_.g where g is a function in type discipline method failed…
232 expected='0 1'
234 [[ "$got" == "$expected" ]] || err_exit "array assignment of subscripts in type discipline arithmet…
251 expected='Fileinfo_t -A _Dbg_filenames=([foo]=(size=2;typeset -C -a text=([0]=line1 [1]=line2 [2]=l…
253 [[ "$got" == "$expected" ]] || {
[all …]
H A Dglob.sh35 typeset lineno expected drop arg got sep op val add del
46 expected=$1
49 then if [[ $expected == "<Beware> "* ]]
50 then expected=${expected#"<Beware> "}
51 expected="$expected <Beware>"
53 if [[ $expected == *"<aXb> <abd>"* ]]
54 then expected=${expected/"<aXb> <abd>"/"<abd> <aXb>"}
66 then expected="<$add> $expected"
69 if [[ $got != "$expected" ]]
70 then 'err_exit' $lineno "glob -- expected '$expected', got '$got'"
[all …]
H A Dsignal.sh235 typeset -A expected
236 expected[---]="3-intr"
237 expected[--d]="3-intr"
238 expected[-t-]="3-intr 2-intr 1-intr 1-0258"
239 expected[-td]="3-intr 2-intr 1-intr 1-0258"
240 expected[x--]="3-intr 2-intr"
241 expected[x-d]="3-intr 2-intr"
242 expected[xt-]="3-intr 2-intr 1-intr 1-0258"
243 expected[xtd]="3-intr 2-intr 1-intr 1-0258"
244 expected[z--]="3-intr 2-intr 1-0000"
[all …]
H A Doptions.sh166 expected='bam.c bar.c'
167 [[ $* == $expected ]] ||
168 err_exit "-G **.c failed -- expected '$expected', got '$*'"
170 expected='bam.c bar bar.c bar/bam.c bar/foo.c foo foo/bam.c'
171 [[ $* == $expected ]] ||
172 err_exit "-G ** failed -- expected '$expected', got '$*'"
174 expected='bam.c bar.c bar/bam.c bar/foo.c foo/bam.c'
175 [[ $* == $expected ]] ||
176 err_exit "-G **/*.c failed -- expected '$expected', got '$*'"
178 expected='bam.c bar/bam.c foo/bam.c'
[all …]
H A Dcomvar.sh460 expected=$'typeset -C -a mica01=([4]=(a_string=\'foo bar\';some_stuff=hello;))'
461 [[ $(typeset -p mica01) == "$expected" ]] || err_exit 'appened to indexed array compound variable n…
466 expected=$'(\n\ttypeset -l -i x=0\n)'
467 [[ $(print -v x) == "$expected" ]] || err_exit "'print -v x' should be $expected"
479 expected="typeset -C -A hello19=([19]=(one='xone 19';two='xtwo 19';) [23]=(one='xone 23';two='xtwo …
480 [[ $(typeset -p hello19) == "$expected" ]] || print -u2 'typeset -p hello19 incorrect'
481 expected=$'(\n\tone=\'xone 19\'\n\ttwo=\'xtwo 19\'\n) (\n\tone=\'xone 23\'\n\ttwo=\'xtwo 23\'\n)'
482 [[ ${hello19[@]} == "$expected" ]] || print -u2 '${hello19[@]} incorrect'
511 expected=$'(\n\ttypeset -A subtree=(\n\t\t[a_node]=(\n\t\t\tone=hello\n\t\t\ttwo=world\n\t\t)\n\t)\…
512 [[ $tree == "$expected" ]] || err_exit 'move of compound local variable to global variable not wor…
[all …]
H A Dexpand.sh103 expected=$1
106 [[ $got == $expected ]] || err_exit "'$pattern' failed -- expected '$expected' got '$got'"
H A Dstatics.sh73 expected="helloan elementan elementan element"
85 [[ $got != $expected ]] && err_exit "static array var failed -- expected '$expected', got '$got'"
H A Dattributes.sh304 expected='YWJjZGVmZ2hpag=='
308 [[ $foo == "$expected" ]] || err_exit 'read foo, where foo is "typeset -b -Z10" not working'
312 [[ $foo == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -Z10" not working'
316 [[ ${foo[4]} == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -A" foo not wo…
320 [[ ${foo[4]} == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -a" foo not wo…
/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.tolower.d33 expected[i++] = "ahi";
36 expected[i++] = "mahi!";
39 expected[i++] = " nase-5";
42 expected[i++] = "!@#$%";
48 /input[i] != NULL && (this->out = tolower(input[i])) != expected[i]/
51 input[i], expected[i], this->out);
59 input[i], expected[i]);
H A Dtst.toupper.d33 expected[i++] = "AHI";
36 expected[i++] = "MAHI!";
39 expected[i++] = " DACE-9";
42 expected[i++] = "!@#$%";
48 /input[i] != NULL && (this->out = toupper(input[i])) != expected[i]/
51 input[i], expected[i], this->out);
59 input[i], expected[i]);
/titanic_41/usr/src/cmd/dtrace/test/tst/common/vars/
H A Dtst.nullassign.d42 expected = "Die, SystemTap, Die";
46 /phrase != expected/
48 printf("global: expected '%s', found '%s'\n", expected, phrase);
60 expected = "The, SystemTap, The";
64 /this->phrase != expected/
67 expected, this->phrase);
/titanic_41/usr/src/lib/crypt_modules/sha256/
H A Dtest.c35 const char *expected; member
66 const char *expected; member
118 strlen(tests2[cnt].expected)); in main()
122 if (cp == NULL || (strcmp(cp, tests2[cnt].expected) != 0)) { in main()
125 strlen(tests2[cnt].expected), tests2[cnt].expected, in main()
/titanic_41/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_008_pos.ksh46 for file in /tmp/output.$$ /tmp/expected-output.$$ \
61 create_expected_output /tmp/expected-output.$$ \
63 log_must $DIFF /tmp/output.$$ /tmp/expected-output.$$
66 create_expected_output /tmp/expected-output.$$ . .. \
68 log_must $DIFF /tmp/output.$$ /tmp/expected-output.$$
/titanic_41/usr/src/tools/stabs/
H A Dstabs.c99 expected( in expected() function
223 expected("parseline/'0-9'", "=", cp - 1); in parseline()
237 expected("parseline", "=", cp - 1); in parseline()
310 expected("number", "<number>", cp); in number()
323 expected("id", ",", cp - 1); in id()
326 expected("id", ")", cp - 1); in id()
332 expected("id", "(/0-9", cp); in id()
396 expected("tagdecl", "<tag type s/u/e>", cp - 1); in tagdecl()
416 expected("tdefdecl/b", "[su]", cp - 1); in tdefdecl()
433 expected("tdefdecl/'('", "=", cp - 1); in tdefdecl()
[all …]
/titanic_41/usr/src/tools/ctf/cvt/
H A Dst_parse.c50 #define expected(a, b, c) _expected(a, b, c, __LINE__) macro
215 expected("parse_nfun", "[PfF]", cp - 1); in parse_fun()
274 expected("parse_sym", "[GprSV(]", cp - 1); in parse_sym()
293 expected("parse_type", "t (type)", cp - 1); in parse_type()
298 expected("parse_type", "= (definition)", cp - 1); in parse_type()
350 expected("parse_sou", "T (sou)", cp - 1); in parse_sou()
354 expected("parse_sou", "= (definition)", cp - 1); in parse_sou()
393 expected("parse_sou", "<tag type s/u/e>", cp - 1); in parse_sou()
522 expected("number", "<number>", cp); in number()
535 expected("id", ",", cp - 1); in id()
[all …]
/titanic_41/usr/src/lib/libsqlite/test/
H A Dtester.tcl83 proc do_test {name cmd expected} { argument
109 } elseif {[string compare $result $expected]} {
110 puts "\nExpected: \[$expected\]\n Got: \[$result\]"
122 proc do_probtest {name cmd expected} { argument
146 } elseif {[string compare $result $expected]} {
147 puts "\nExpected: \[$expected\]\n Got: \[$result\]"
/titanic_41/usr/src/cmd/rpcgen/
H A Drpc_tblout.c93 int expected; in write_table() local
105 expected = 0; in write_table()
107 expected = 1; in write_table()
115 if (current != expected++) { in write_table()
125 expected = current + 1; in write_table()
/titanic_41/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation_013_pos.sh100 expected=$(volsize_to_reservation $obj $resv_set)
103 expected=$resv_set
107 [[ $found != $expected ]] && \
109 "$expected but got $found."
/titanic_41/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.dofmax.ksh87 let expected=10000
89 if [[ "$lower" -lt "$expected" ]]; then
90 echo "expected support for enablings of at least $expected probes; \c"
/titanic_41/usr/src/uts/sparc/v9/ml/
H A Dcrt.s58 ! see if key matches: if not, structure value not expected,
67 ld [%fp + STRUCT_VAL_OFF], %i0 ! set expected return value
83 ! see if key matches: if not, structure value not expected,
92 ld [%fp + STRUCT_VAL_OFF], %i0 ! set expected return value
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_ordering.c186 gssint_uint64 expected; in g_order_check() local
206 expected = (QELEM(q,q->start+q->length-1)+1) & q->mask; in g_order_check()
207 if (seqnum == expected) { in g_order_check()
213 if (after(seqnum, expected, q->mask)) { in g_order_check()
/titanic_41/usr/src/uts/sun4v/os/
H A Derror.c222 int expected = DDI_FM_ERR_UNEXPECTED; in process_nonresumable_error() local
309 errh_error_protected(rp, aflt, &expected); in process_nonresumable_error()
333 expected); in process_nonresumable_error()
407 errh_cpu_run_bus_error_handlers(struct async_flt *aflt, int expected) in errh_cpu_run_bus_error_handlers() argument
416 de.fme_flag = expected; in errh_cpu_run_bus_error_handlers()
438 errh_error_protected(struct regs *rp, struct async_flt *aflt, int *expected) in errh_error_protected() argument
466 *expected = DDI_FM_ERR_PEEK; in errh_error_protected()
469 *expected = DDI_FM_ERR_EXPECTED; in errh_error_protected()
/titanic_41/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_common.kshlib94 typeset expected=$3
97 if (($value != $expected)); then
/titanic_41/usr/src/cmd/abi/spectrans/spec2map/
H A Dversions.c467 accept_token(char *expected) in accept_token() argument
471 assert(expected != NULL, "null token passed to accept_token"); in accept_token()
473 (token) ? token : "<NULL>", expected); in accept_token()
479 if (eq(token, expected)) { in accept_token()
485 (token) ? token : "<NULL>", expected); in accept_token()

12345678910>>...14