| /titanic_44/usr/src/cmd/dtrace/test/tst/common/funcs/ |
| H A D | tst.basename.d.out | 4 echo "basename(\"/foo/bar/baz\") is \"baz\"; expected \"`basename "/foo/bar/baz"`"\" 8 echo "dirname(\"/foo/bar/baz\") is \"/foo/bar\"; expected \"`dirname "/foo/bar/baz"`"\" 12 echo "basename(\"/foo/bar///baz/\") is \"baz\"; expected \"`basename "/foo/bar///baz/"`"\" 16 echo "dirname(\"/foo/bar///baz/\") is \"/foo/bar\"; expected \"`dirname "/foo/bar///baz/"`"\" 20 echo "basename(\"/foo/bar/baz/\") is \"baz\"; expected \"`basename "/foo/bar/baz/"`"\" 24 echo "dirname(\"/foo/bar/baz/\") is \"/foo/bar\"; expected \"`dirname "/foo/bar/baz/"`"\" 28 echo "basename(\"/foo/bar/baz//\") is \"baz\"; expected \"`basename "/foo/bar/baz//"`"\" 32 echo "dirname(\"/foo/bar/baz//\") is \"/foo/bar\"; expected \"`dirname "/foo/bar/baz//"`"\" 36 echo "basename(\"/foo/bar/baz/.\") is \".\"; expected \"`basename "/foo/bar/baz/."`"\" 40 echo "dirname(\"/foo/bar/baz/.\") is \"/foo/bar/baz\"; expected \"`dirname "/foo/bar/baz/."`"\" [all …]
|
| H A D | tst.tolower.d | 33 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 D | tst.toupper.d | 33 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_44/usr/src/lib/libshell/common/tests/ |
| H A D | sun_solaris_array_default_datatype.sh | 180 …rr_exit "${cycle}: mycpv.myindexedfloatarray[34] == ${mycpv.myindexedfloatarray[34]}, expected 1.1" 182 …rr_exit "${cycle}: mycpv.myindexedfloatarray[34] == ${mycpv.myindexedfloatarray[34]}, expected 2.2" 184 …rr_exit "${cycle}: mycpv.myindexedfloatarray[34] == ${mycpv.myindexedfloatarray[34]}, expected 0.0" 188 …rr_exit "${cycle}: mycpv.myindexedfloatarray[34] == ${mycpv.myindexedfloatarray[34]}, expected 1.1" 190 …rr_exit "${cycle}: mycpv.myindexedfloatarray[34] == ${mycpv.myindexedfloatarray[34]}, expected 2.2" 192 …rr_exit "${cycle}: mycpv.myindexedfloatarray[34] == ${mycpv.myindexedfloatarray[34]}, expected 0.0" 199 …"${cycle}: mycpv.myassociativefloatarray[34] == ${mycpv.myassociativefloatarray[34]}, expected 1.1" 201 …"${cycle}: mycpv.myassociativefloatarray[34] == ${mycpv.myassociativefloatarray[34]}, expected 2.2" 203 …"${cycle}: mycpv.myassociativefloatarray[34] == ${mycpv.myassociativefloatarray[34]}, expected 0.0" 207 …"${cycle}: mycpv.myassociativefloatarray[34] == ${mycpv.myassociativefloatarray[34]}, expected 1.1" [all …]
|
| H A D | types.sh | 121 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 D | signal.sh | 235 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 D | options.sh | 67 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 $go… 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', got '$*'" 174 expected='bam.c bar.c bar/bam.c bar/foo.c foo/bam.c' 175 [[ $* == $expected ]] || [all …]
|
| H A D | path.sh | 157 [[ $status == 126 ]] || err_exit "exit status of non-executable is $status -- 126 expected" 183 [[ $got == $exp ]] || err_exit "whence ./$cmd failed -- expected '$exp', got '$got'" 185 [[ $got == $exp ]] || err_exit "whence \$PWD/$cmd failed -- expected '$exp', got '$got'" 206 [[ $got == $exp ]] || err_exit "whence ./$cmd failed -- expected '$exp', got '$got'" 208 [[ $got == $exp ]] || err_exit "whence \$PWD/$cmd failed -- expected '$exp', got '$got'" 258 [[ $status == 127 ]] || err_exit "not found command exit status $status -- expected 127" 260 [[ $status == 126 ]] || err_exit "non executable command exit status $status -- expected 126" 262 [[ $status == 127 ]] || err_exit "not found command with ERR trap exit status $status -- expected 1… 264 [[ $status == 126 ]] || err_exit "non executable command ERR trap exit status $status -- expected 1… 282 [[ "$got" == "$exp" ]] || err_exit "unreadable empty script should fail -- expected $exp, got $got" [all …]
|
| H A D | glob.sh | 35 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 D | cubetype.sh | 58 [[ "$got" == "$exp" ]] || err_exit "\${b.x} incorrect for iteration $i -- expected $exp, got '$got'" 60 (( got == exp )) || err_exit "b.len incorrect for iteration $i -- expected $exp, got '$got = sqrt($… 62 [[ "$got" == "$exp" ]] || err_exit "\${b.len} incorrect for iteration $i -- expected $exp, got '$go… 64 [[ "$got" == "${exp}" ]] || err_exit "\${b.name} incorrect for iteration $i -- expected $exp, got '… 66 (( got == exp )) || err_exit "b.count incorrect for iteration $i -- expected $exp, got '$got'" 68 [[ "$got" == "$exp" ]] || err_exit "\${b.ccount} incorrect for iteration $i -- expected $exp, got '… 72 [[ "$got" == "$exp" ]] || err_exit "\${#b.colors[@]} incorrect for iteration $i -- expected $exp, g… 77 [[ ${#b.items[@]} == 3 ]] || err_exit "\${#b.items[@]} incorrect for iteration $i -- expected $exp,… 81 [[ ${#bb.colors[@]} == 4 ]] || err_exit "\${#bb.colors[@]} incorrect for iteration $i -- expected $… 84 [[ ${#b.colors[@]} == 2 ]] || err_exit "\${#b.colors[@]} incorrect for iteration $i -- expected $ex… [all …]
|
| H A D | variables.sh | 69 then err_exit "PPID variable failed -- expected '$exp', got '$got'" 75 then err_exit "OLDPWD variable failed -- expected '$old', got '$OLDPWD'" 297 *) err_exit "IFS=': '; set -- '$i'; expected '$s' got '$g'" ;; 302 *) err_exit "IFS=': '; read '$i'; expected '$r' got '$g'" ;; 491 [[ $got == new ]] || err_exit "previously unset environment variable not passed to script, expected… 492 [[ ! $VAR ]] || err_exit "previously unset environment variable set after script, expected '', got … 497 …xit "environment variable covering local variable not passed to script, expected 'new', got '$got'" 498 [[ $VAR == old ]] || err_exit "previously set local variable changed after script, expected 'old', … 503 …nvironment variable covering environment variable not passed to script, expected 'new', got '$got'" 504 [[ $VAR == old ]] || err_exit "previously set environment variable changed after script, expected '… [all …]
|
| /titanic_44/usr/src/test/zfs-tests/tests/functional/inheritance/ |
| H A D | inherit.kshlib | 55 # 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 ]]; then [all …]
|
| /titanic_44/usr/src/cmd/dtrace/test/tst/common/vars/ |
| H A D | tst.nullassign.d | 42 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 clause-local to be NULL\n");
|
| /titanic_44/usr/src/test/zfs-tests/tests/functional/xattr/ |
| H A D | xattr_008_pos.ksh | 35 # 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_44/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/ |
| H A D | zfs_list.kshlib | 57 EXPECTED=$($ECHO $list | $AWK "{print \$$index}") 58 if [ "$ACTUAL" != "$EXPECTED" ] 61 "'$ACTUAL' does not equal '$EXPECTED'" 69 # finally check to see if we have the expected number of elements 99 EXPECTED=$($ECHO $list | $AWK "{print \$$index}") 100 if [ "$ACTUAL" != "$EXPECTED" ] 104 "the reverse of '$EXPECTED'" 112 # finally check to see if we have the expected number of elements
|
| /titanic_44/usr/src/cmd/dtrace/test/tst/common/ustack/ |
| H A D | tst.spin.ksh | 28 echo expected one argument: '<'dtrace-path'>' 107 die "expected START at \$.\n" unless /^START/; 112 die "expected END at \$.\n" unless /\`baz\+/; 116 die "expected END at \$.\n" unless /\`bar\+/; 120 die "expected END at \$.\n" unless /\`foo\+/; 124 die "expected END at \$.\n" unless /\`main\+/; 128 die "expected END at \$.\n" unless /^END\$/;
|
| /titanic_44/usr/src/tools/stabs/ |
| H A D | stabs.c | 99 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("tdefdecl/b", "[su]", cp - 1); in tdefdecl() [all …]
|
| /titanic_44/usr/src/uts/intel/io/acpica/namespace/ |
| H A D | nsrepair.c | 58 * predefined methods to an object type that is expected, as per the ACPI 138 * ExpectedBtypes - Object types expected 148 * not expected. 179 ACPI_WARN_ALWAYS, "Missing expected return value")); in AcpiNsSimpleRepair() 200 * expected. in AcpiNsSimpleRepair() 209 * one of the expected types for this predefined name. Attempt to in AcpiNsSimpleRepair() 210 * repair the object by converting it to one of the expected object in AcpiNsSimpleRepair() 216 * this predefined name. Either one return value is expected, or none, in AcpiNsSimpleRepair() 240 ACPI_WARN_ALWAYS, "Missing expected return value")); in AcpiNsSimpleRepair() 274 * A package is expected. We will wrap the existing object with a in AcpiNsSimpleRepair() [all …]
|
| /titanic_44/usr/src/lib/libpkg/common/ |
| H A D | tputcfent.c | 131 (void) fprintf(fp, pkg_gt("Expected mode: %s\n"), in tputcfent() 134 (void) fprintf(fp, pkg_gt("Expected mode: %04lo\n"), in tputcfent() 137 (void) fprintf(fp, pkg_gt("Expected owner: %s\n"), in tputcfent() 139 (void) fprintf(fp, pkg_gt("Expected group: %s\n"), in tputcfent() 144 pkg_gt("Expected file size (bytes): %llu\n"), in tputcfent() 147 pkg_gt("Expected sum(1) of contents: %ld\n"), in tputcfent() 152 pkg_gt("Expected last modification: %b %d %X %Y\n"), in tputcfent() 157 pkg_gt("Expected last modification: ?\n")); in tputcfent()
|
| /titanic_44/usr/src/cmd/sgs/libld/common/ |
| H A D | libld.msg | 610 expected %d" 1112 @ MSG_MAP_EXPSCOL "%s: %llu: expected a ';'" 1113 @ MSG_MAP_EXPEQU "%s: %llu: expected a '=', ':', '|', or '@'" 1114 @ MSG_MAP_EXPSEGATT "%s: %llu: expected one or more segment attributes \ 1116 @ MSG_MAP_EXPSEGNAM "%s: %llu: expected a segment name at the beginning \ 1120 @ MSG_MAP_EXPSYM_1 "%s: %llu: expected a symbol name after '@'" 1121 @ MSG_MAP_EXPSYM_2 "%s: %llu: expected a symbol name after '{'" 1122 @ MSG_MAP_EXPSEC "%s: %llu: expected a section name after '|'" 1123 @ MSG_MAP_EXPSO "%s: %llu: expected a shared object definition \ 1179 @ MSG_MAP_EXP_ATTR "%s: %llu: expected attribute name (%s), or \ [all …]
|
| /titanic_44/usr/src/tools/ctf/cvt/ |
| H A D | st_parse.c | 50 #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("number", "<number>", cp); in number() [all …]
|
| /titanic_44/usr/src/test/zfs-tests/tests/functional/cli_user/misc/ |
| H A D | zfs_get_001_neg.ksh | 42 # 2. Verify for each property, we get the value that's expected 56 EXPECTED=${prop_vals[$i]} 58 if [ "$ACTUAL" != "$EXPECTED" ] 60 log_fail "Property $PROP value was $ACTUAL, expected $EXPECTED"
|
| /titanic_44/usr/src/man/man9f/ |
| H A D | ddi_strtol.9f | 93 If the value of \fIbase\fR is 0, the expected form of the subject sequence is a 103 If the value of \fIbase\fR is between 2 and 36, the expected form of the 115 expected form. The subject sequence contains no characters if the input string 121 If the subject sequence has the expected form and the value of \fIbase\fR is 0, 123 integer constant. If the subject sequence has the expected form and the value 131 If the subject sequence is empty or does not have the expected form, no
|
| H A D | ddi_strtoul.9f | 93 If the value of \fIbase\fR is 0, the expected form of the subject sequence is 103 If the value of \fIbase\fR is between 2 and 36, the expected form of the 115 expected form. The subject sequence contains no characters if the input string 121 If the subject sequence has the expected form and the value of \fIbase\fR is 123 an integer constant. If the subject sequence has the expected form and the 131 If the subject sequence is empty or does not have the expected form, no
|
| /titanic_44/usr/src/lib/libnisdb/ |
| H A D | nis_parse_ldap_err.h | 118 "A semicolon was expected: '%s'", 136 "Comma was expected: '%s'", 139 "Equal sign expected: '%s'", 142 "Close parentheses expected: '%s'", 160 "Other syntax encountered when item expected: '%s'", 164 " when formatspec expected: '%s'", 171 "The expected syntax is:\n" 241 "yes or no expected: '%s'",
|