Home
last modified time | relevance | path

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

12345678910>>...15

/titanic_52/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dinherit.kshlib55 # The 'expected src' argument must be either "default", "local", or
64 typeset expected=$3
69 # Rather than just checking if $prop_src == $expected
70 # we first determine what value $expected should have.
72 # has a source of "local" but we expected it to be
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 ]]; the
[all...]
/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/tests/
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/"<aX
[all...]
H A Dcomvar.sh375 err_exit "compound indexed array pretty print failed -- expected $exp, got $got"
391 err_exit "compound indexed array pretty print failed -- expected $exp, got $got"
407 err_exit "compound indexed array pretty print failed -- expected $exp, got $got"
460 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 not working'
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 23'))"
480 [[ $(typeset -p hello19) == "$expected" ]] || prin
[all...]
H A Dsignal.sh48 then err_exit "'kill -l $s' => $n, 'kill -l $n' => $t, kill -l $t => $m -- expected $n"
251 typeset -A expected
252 expected[---]="3-intr"
253 expected[--d]="3-intr"
254 expected[-t-]="3-intr 2-intr 1-intr 1-0258"
255 expected[-td]="3-intr 2-intr 1-intr 1-0258"
256 expected[x--]="3-intr 2-intr 1-0000"
257 expected[x-d]="3-intr 2-intr 1-0000"
258 expected[xt-]="3-intr 2-intr 1-intr 1-0000"
259 expected[xt
[all...]
H A Dtypes.sh121 expected=2
123 [[ "$got" == "$expected" ]] || err_exit "typedefs in dot script failed -- expected '$expected', got '$got'"
201 expected=aha
203 [[ "$got" == "$expected" ]] || err_exit "type '_' reference failed -- expected '$expected', got '$got'"
217 expected=foo
219 [[ "$got" == "$expected" ]] || err_exi
[all...]
H A Doptions.sh67 err_exit "\$ENV file &>/dev/null does not redirect stdout -- expected '', got $got"
73 err_exit "\$ENV file &>/dev/null does not redirect stderr -- expected one diagnostic line, got $got"
166 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', go
[all...]
H A Dexpand.sh103 expected=$1
106 [[ $got == $expected ]] || err_exit "'$pattern' failed -- expected '$expected' got '$got'"
H A Dattributes.sh306 expected='YWJjZGVmZ2hpag=='
310 [[ $foo == "$expected" ]] || err_exit 'read foo, where foo is "typeset -b -Z10" not working'
314 [[ $foo == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -Z10" not working'
318 [[ ${foo[4]} == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -A" foo not working'
322 [[ ${foo[4]} == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -a" foo not working'
355 [[ $got == $exp ]] || err_exit "[ '$2' '$3' '$4' ] env sequence failed -- expected '$exp', got '$got'"
382 [[ $got == $exp ]] || err_exit "typeset -l fails on numeric value -- expected '$exp', got '$got'"
390 expected=$'(\n\t[0]=WORLD\n\t[1]=HELLO\n\t[2]=CHICKEN\n)'
391 [[ $(print -v s) == "$expected" ]] || err_exit 'typeset -u for associative array does not display correctly'
430 expected
[all...]
/titanic_52/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]/
50 printf("expected tolower(\"%s\") to be \"%s\"; found \"%s\"\n",
51 input[i], expected[i], this->out);
58 printf("tolower(\"%s\") is \"%s\", as expected\n",
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]/
50 printf("expected toupper(\"%s\") to be \"%s\"; found \"%s\"\n",
51 input[i], expected[i], this->out);
58 printf("toupper(\"%s\") is \"%s\", as expected\n",
59 input[i], expected[i]);
/titanic_52/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/
66 printf("clause-local: expected '%s', found '%s'\n",
67 expected, this->phrase);
80 printf("expected global to be NULL\n");
87 printf("expected claus
[all...]
/titanic_52/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_52/usr/src/tools/stabs/
H A Dstabs.c99 expected( in expected() function
101 char *what, /* what was expected */ in expected()
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("tdefdec in tdefdecl()
[all...]
/titanic_52/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_008_pos.ksh35 # We verify that the special . and .. dirs work as expected for xattrs.
46 for file in /tmp/output.$$ /tmp/expected-output.$$ \
52 log_assert "special . and .. dirs work as expected for xattrs"
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.$$
74 log_fail "Listing the .. directory doesn't show \"..\" as expected."
80 log_pass "special . and .. dirs work as expected for xattrs"
/titanic_52/usr/src/tools/ctf/cvt/
H A Dst_parse.c50 #define expected(a, b, c) _expected(a, b, c, __LINE__) macro
114 char *what, /* what was expected */ in _expected()
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("numbe in number()
[all...]
/titanic_52/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_52/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_52/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_52/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_52/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_52/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_ordering.c86 * (1 is expected, but half + 2 arrives) we really don't know if it's a
186 gssint_uint64 expected; in g_order_check() local
204 /* rule 1: expected sequence number */ in g_order_check()
206 expected = (QELEM(q,q->start+q->length-1)+1) & q->mask; in g_order_check()
207 if (seqnum == expected) { in g_order_check()
212 /* rule 2: > expected sequence number */ in g_order_check()
213 if (after(seqnum, expected, q->mask)) { in g_order_check()
/titanic_52/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
462 * errors are expected in errh_error_protected()
466 *expected = DDI_FM_ERR_PEEK; in errh_error_protected()
469 *expected = DDI_FM_ERR_EXPECTED; in errh_error_protected()
969 * It is expected tha in sp_ereport_post()
[all...]
/titanic_52/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_common.kshlib94 typeset expected=$3
97 if (($value != $expected)); then
/titanic_52/usr/src/cmd/abi/spectrans/spec2map/
H A Dversions.c277 "Version name expected", token); in set()
343 "or ';' expected.", token); in set()
367 "Unexpected token \"%s\" found. ';' expected.", in set()
408 "found. Version token expected", *token); in set_parents()
448 "found. ',' or '}' were expected", token); in set_parents()
467 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()
[all...]
/titanic_52/usr/src/cmd/sgs/libld/common/
H A Dlibld.msg609 expected %d"
1111 @ MSG_MAP_EXPSCOL "%s: %llu: expected a ';'"
1112 @ MSG_MAP_EXPEQU "%s: %llu: expected a '=', ':', '|', or '@'"
1113 @ MSG_MAP_EXPSEGATT "%s: %llu: expected one or more segment attributes \
1115 @ MSG_MAP_EXPSEGNAM "%s: %llu: expected a segment name at the beginning \
1119 @ MSG_MAP_EXPSYM_1 "%s: %llu: expected a symbol name after '@'"
1120 @ MSG_MAP_EXPSYM_2 "%s: %llu: expected a symbol name after '{'"
1121 @ MSG_MAP_EXPSEC "%s: %llu: expected a section name after '|'"
1122 @ MSG_MAP_EXPSO "%s: %llu: expected a shared object definition \
1178 @ MSG_MAP_EXP_ATTR "%s: %llu: expected attribut
[all...]

12345678910>>...15