/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | secflags_psecflags.sh | 29 cat > expected <<EOF 48 cat > expected <<EOF 53 diff -u expected output || exit 1 59 cat > expected <<EOF 70 cat > expected <<EOF 88 cat > expected <<EOF 102 cat > expected <<EOF 119 cat > expected <<EOF 137 cat > expected <<EOF 169 cat > expected <<EOF [all …]
|
H A D | secflags_truss.sh | 22 rm /tmp/expected.$$ 27 cat > /tmp/expected.$$ <<EOF 34 if ! grep -qEf /tmp/expected.$$ /tmp/output.$$; then 39 sed -e 's/^/ /' expected.$$
|
H A D | secflags_core.sh | 47 cat > gcore-expected.$$ <<EOF 55 if ! diff -u gcore-expected.$$ gcore-output.$$; then 65 cat > core-expected.$$ <<EOF 73 if ! diff -u core-expected.$$ core-output.$$; then
|
H A D | secflags_elfdump.sh | 49 cat > gcore-expected.$$ <<EOF 65 if ! diff -u gcore-expected.$$ gcore-output.$$; then 75 cat > core-expected.$$ <<EOF 91 if ! diff -u core-expected.$$ core-output.$$; then
|
H A D | secflags_proc.sh | 25 rm /tmp/expected.$$ 30 cat > /tmp/expected.$$ <<EOF 41 if ! diff -u /tmp/expected.$$ /tmp/output.$$; then
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/ |
H A D | inherit.kshlib | 64 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'"
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | glob.sh | 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" ]] 77 typeset lineno expected subject pattern got 78 lineno=$1 expected=$2 subject=$3 pattern=$4 [all …]
|
H A D | comvar.sh | 460 expected=$'typeset -C -a mica01=([4]=(a_string=\'foo bar\';some_stuff=hello))' 466 expected=$'(\n\ttypeset -l -i x=0\n)' 467 [[ $(print -v x) == "$expected" ]] || err_exit "'print -v x' should be $expected" 482 [[ ${hello19[@]} == "$expected" ]] || print -u2 '${hello19[@]} incorrect' 516 expected='typeset -C -A array=([12]=(typeset -l -E amount=2.9))' 547 expected='typeset -C x=(typeset -C -a nodes=([4]=());)' 556 expected='typeset -C v=(typeset -A -l -i ar=([aa]=4 [bb]=9);)' 569 expected='typeset -C -A l=([4]=(typeset -a ar=(1 2 3);b=1))' 582 expected='(typeset -C -a y;typeset -l -E z=2)' 583 [[ $expected == "$got" ]] || err_exit "print -C x exects '$expected' got '$got'" [all …]
|
H A D | signal.sh | 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[xtd]="3-intr 2-intr 1-intr 1-0000" 260 expected[z--]="3-intr 2-intr 1-0000" [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… 253 [[ "$got" == "$expected" ]] || { 271 expected='A_t b.a=(name=one)' [all …]
|
H A D | options.sh | 166 expected='bam.c bar.c' 167 [[ $* == $expected ]] || 171 [[ $* == $expected ]] || 174 expected='bam.c bar.c bar/bam.c bar/foo.c foo/bam.c' 175 [[ $* == $expected ]] || 178 expected='bam.c bar/bam.c foo/bam.c' 179 [[ $* == $expected ]] || 370 expected=${pipeline[i].nopipefail} 371 [[ $status == $expected ]] || 379 expected=${pipeline[i].pipefail} [all …]
|
H A D | expand.sh | 103 expected=$1 106 [[ $got == $expected ]] || err_exit "'$pattern' failed -- expected '$expected' got '$got'"
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
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]/ 51 input[i], expected[i], this->out); 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]/ 51 input[i], expected[i], this->out); 59 input[i], expected[i]);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/vars/ |
H A D | tst.nullassign.d | 40 expected = "Die, SystemTap, Die"; 44 /phrase != expected/ 46 printf("global: expected '%s', found '%s'\n", expected, phrase); 58 expected = "The, SystemTap, The"; 62 /this->phrase != expected/ 65 expected, this->phrase);
|
/illumos-gate/usr/src/lib/crypt_modules/sha256/ |
H A D | test.c | 33 const char *expected; member 64 const char *expected; member 116 strlen(tests2[cnt].expected)); in main() 120 if (cp == NULL || (strcmp(cp, tests2[cnt].expected) != 0)) { in main() 123 strlen(tests2[cnt].expected), tests2[cnt].expected, in main()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.get_string_props.zcp | 48 function match(n, prop, ans, src, expected) 50 return (list_match(ans, expected[n][1]) and (src == expected[n][2])) 52 return ((ans == expected[n][1]) and (src == expected[n][2])) 56 for prop, expected in pairs(props) do 58 if not (match(1, prop, ans, src, expected)) then 63 if not (match(2, prop, ans, src, expected)) then 68 if not (match(3, prop, ans, src, expected)) then
|
H A D | tst.get_number_props.zcp | 67 function match(n, ans, src, expected) 68 if ((expected[n][1] == nil) and (ans ~= nil)) then 72 if ((expected[n][1] == true) and (ans == nil)) then 76 if (expected[n][2] ~= src) then 83 for prop, expected in pairs(props) do 85 if not (match(1, ans, src, expected)) then 90 if not (match(2, ans, src, expected)) then 95 if not (match(3, ans, src, expected)) then
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/ |
H A D | xattr_008_pos.ksh | 46 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.$$
|
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | read_pause.c | 58 ssize_t expected; in munch() local 68 expected = strlen(cookie) - pauseat - 1; in munch() 70 expected = 1; in munch() 78 ASSERT_INT64_EQ(("wanted a byte of cookie"), nbytes, expected); in munch() 80 if (expected == 1) { in munch()
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | tester.tcl | 81 proc do_test {name cmd expected} { argument 107 } elseif {[string compare $result $expected]} { 108 puts "\nExpected: \[$expected\]\n Got: \[$result\]" 120 proc do_probtest {name cmd expected} { argument 144 } elseif {[string compare $result $expected]} { 145 puts "\nExpected: \[$expected\]\n Got: \[$result\]"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/ |
H A D | reservation_022_pos.sh | 71 expected=$(volsize_to_reservation $vol2 $vol_size) 72 log_must test $resv -eq $expected 81 expected=$(volsize_to_reservation $vol3 $vol_size) 82 log_must test $resv -eq $expected
|
H A D | reservation_013_pos.sh | 100 expected=$(volsize_to_reservation $obj $resv_set) 103 expected=$resv_set 107 [[ $found != $expected ]] && \ 109 "$expected but got $found."
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_tblout.c | 93 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()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | printf-9511.c | 30 const char *expected; member 62 if (strcmp(fpconv[i].expected, buf) != 0) { in main() 65 fpconv[i].expected, buf); in main()
|