/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/cifs/ |
H A D | cifs_attr_003_pos.ksh | 173 typeset -i expect=$1 181 if ((expect != 0)); then 185 if ((expect == 0)); then 202 typeset expect=${3:-0} 204 verify_expect $expect chg_usr_exec $user \ 206 verify_expect $expect chg_usr_exec $user \ 222 typeset expect=${3:-0} 225 verify_expect $expect chg_usr_exec $user \ 227 verify_expect $expect chg_usr_exec $user \ 236 typeset expect=${3:-0} [all …]
|
H A D | cifs_attr_001_pos.ksh | 184 typeset expect="log_mustnot" 197 expect="log_must" 200 $expect $func $object $opt $user
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create_verbose.ksh | 143 typeset -A expect 144 expect=([compression]=on) 145 dry_create_parseable expect -o compression=on "$TESTPOOL/$TESTFS1" 148 expect=([compression]=on) 149 dry_create_parseable expect -p -o compression=on "$TESTPOOL/$TESTFS1" 150 expect=([compression]=on) 151 dry_create_parseable expect -p -o compression=on "$TESTPOOL/$TESTFS1/$TESTVOL" 154 expect=([volblocksize]=4096 [volsize]=$((1024 * 1024 * 10))) 155 dry_create_parseable expect -b 4k -V 10m -s "$TESTPOOL/$TESTFS1" 158 expect=( [all …]
|
H A D | zfs_create_dryrun.ksh | 152 typeset -A expect 153 expect=([compression]=on) 154 dry_create_parseable expect -o compression=on "$TESTPOOL/$TESTFS1" 157 expect=([volblocksize]=4096 [volsize]=$((1024 * 1024 * 10))) 158 dry_create_parseable expect -b 4k -V 10m -s "$TESTPOOL/$TESTFS1" 161 expect=( 166 dry_create_parseable expect -b 4k -V 10m "$TESTPOOL/$TESTFS1"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | readonly_001_pos.ksh | 94 expect="log_must" 97 expect="log_mustnot" 103 $expect touch $mtpt/$TESTFILE1 104 $expect mkdir -p $mtpt/$TESTDIR1 105 $expect eval "echo 'y' | rm $mtpt/$TESTFILE0" 106 $expect rmdir $mtpt/$TESTDIR0 108 if [[ $expect == "log_must" ]] ; then 116 $expect eval "new_fs \
|
/illumos-gate/usr/src/cmd/tip/aculib/ |
H A D | v3451.c | 17 static int expect(char *); 45 if (!expect("READY")) { in v3451_dialer() 57 if (!expect("NUMBER?")) { in v3451_dialer() 67 if (!expect(phone)) { in v3451_dialer() 82 if (!expect("DIALING:")) { in v3451_dialer() 91 ok = expect("ON LINE"); in v3451_dialer() 127 expect(char *cp) in expect() function
|
/illumos-gate/usr/src/test/util-tests/tests/make/ |
H A D | make_test.ksh | 100 ( cd "$FILEDIR/make_a/b"; $MAKE ) > $TD/expect 2>&1 105 check_results $TD/{expect,empty} "make -C -C from empty directory" 111 check_results $TD/{expect,with} "make -C -C from non-empty directory" 117 check_results $TD/{expect,emptyflags} \ 124 check_results $TD/{expect,withflags} \ 129 check_results $TD/{expect,relative} \
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | Dialers | 107 # "" expect nothing 109 # OK\r expect modem to reply OK 111 # OK\r expect modem to reply OK 116 # CONNECT expect "CONNECT" from modem when connected 129 # "" expect nothing 133 # \006 expect ACK from modem 135 # ed expect "ed" (actually "Answered") 151 # "" expect nothing 157 # ed expect "ed" (actually "Answered") 174 # "" expect nothing [all …]
|
H A D | Systems | 41 # in the format "[expect send] ...". The expect field 42 # may have subfields in the format "expect[-send-expect]".
|
/illumos-gate/usr/src/test/util-tests/tests/mdb/ |
H A D | mdbtest | 68 local expect base ext exe command odir res reason input 73 expect=${base%%.*} 76 [[ -z "$expect" ]] && fatal "found test without prefix: $name" 113 elif [[ "$expect" == "tst" && $res -ne 0 ]]; then 115 elif [[ "$expect" == "err" && $res -eq 0 ]]; then
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_ktest.c | 641 const mac_ether_offload_info_t *expect = &mtp.mtp_results; in mac_ether_offload_info_test() local 642 KT_ASSERT3UG(result.meoi_flags, ==, expect->meoi_flags, ctx, done); in mac_ether_offload_info_test() 643 KT_ASSERT3UG(result.meoi_l2hlen, ==, expect->meoi_l2hlen, ctx, done); in mac_ether_offload_info_test() 644 KT_ASSERT3UG(result.meoi_l3proto, ==, expect->meoi_l3proto, ctx, done); in mac_ether_offload_info_test() 645 KT_ASSERT3UG(result.meoi_l3hlen, ==, expect->meoi_l3hlen, ctx, done); in mac_ether_offload_info_test() 646 KT_ASSERT3UG(result.meoi_l4proto, ==, expect->meoi_l4proto, ctx, done); in mac_ether_offload_info_test() 647 KT_ASSERT3UG(result.meoi_l4hlen, ==, expect->meoi_l4hlen, ctx, done); in mac_ether_offload_info_test() 667 const mac_ether_offload_info_t *expect = &mtp.mtp_results; in mac_partial_offload_info_test() local 668 KT_ASSERT3UG(result->meoi_flags, ==, expect->meoi_flags, ctx, done); in mac_partial_offload_info_test() 669 KT_ASSERT3UG(result->meoi_l2hlen, ==, expect->meoi_l2hlen, ctx, done); in mac_partial_offload_info_test() [all …]
|
/illumos-gate/usr/src/test/test-runner/stf/contrib/include/ |
H A D | ctiutils.shlib | 87 # cti_runexpect() runs the expect utility. cti_expecttest() is 90 # cti_runexpect() runs the expect utility. cti_expecttest() is 651 # Exit values for expect scripts. 652 # N.B. Do not use 0, as expect uses this for e.g. syntax errors. 659 # cti_runexpect() - run the expect utility. 663 # Executes the expect utility using the command line specified in the second 664 # argument. Generates a temporary expect script which is removed at the end of 669 # The following expect functions are available: 677 # finish Exit the expect script here - the test has passed. 695 # Generate expect script. [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | parse.c | 750 token = expect(token, '}', "at end of struct-union-enum-specifier"); in struct_union_enum_specifier() 772 token = expect(token, '}', "at end of specifier"); in struct_union_enum_specifier() 1074 return expect(token, ')', "after typeof"); in typeof_specifier() 1152 token = expect(token, '(', "after address_space attribute"); in attribute_address_space() 1178 token = expect(next, ')', "after address_space attribute"); in attribute_address_space() 1242 token = expect(token, '(', "after mode attribute"); in attribute_mode() 1252 token = expect(token, ')', "after mode attribute"); in attribute_mode() 1262 token = expect(token, '(', "after context attribute"); in attribute_context() 1264 token = expect(token, ',', "after context 1st argument"); in attribute_context() 1269 token = expect(token, ')', "after context 3rd argument"); in attribute_context() [all …]
|
H A D | expression.c | 67 token = expect(token, '(', where); in parens_expression() 77 token = expect(token, '}', "at end of statement expression"); in parens_expression() 83 return expect(token, ')', where); in parens_expression() 157 return expect(token, '(', in builtin_types_compatible_p_expr() 162 return expect(token, ',', in builtin_types_compatible_p_expr() 167 return expect(token, ')', in builtin_types_compatible_p_expr() 185 return expect(token, '(', "after __builtin_offset"); in builtin_offsetof_expr() 195 return expect(token, ',', "in __builtin_offset"); in builtin_offsetof_expr() 204 return expect(token, ')', "at end of __builtin_offset"); in builtin_offsetof_expr() 227 token = expect(token, ']', in builtin_offsetof_expr() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/err/ |
H A D | err.ksh | 62 expect=$(<$keyf) 67 if [[ "$expect" != "$output" ]]; then 69 diff -u <(print "$output") <(print "$expect") || true
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount.kshlib | 38 typeset -i expect=${4-0} 44 if (( expect == 0 )) ; then 56 if (( ret != expect)); then
|
H A D | zfs_unmount_002_pos.ksh | 64 typeset -i expect=${2-0} 76 "${dev[j]}" $expect
|
H A D | zfs_unmount_004_pos.ksh | 65 typeset -i expect=${2-0} 77 "${dev[j]}" $expect
|
H A D | zfs_unmount_003_pos.ksh | 65 typeset -i expect=${2-0} 78 "${dev[j]}" $expect
|
H A D | zfs_unmount_005_pos.ksh | 66 typeset -i expect=${2-0} 81 "${dev[j]}" $expect
|
/illumos-gate/usr/src/compat/bhyve/amd64/machine/ |
H A D | atomic.h | 75 atomic_cmpset_int(volatile u_int *dst, u_int expect, u_int src) in atomic_cmpset_int() argument 86 "+a" (expect) /* 2 */ in atomic_cmpset_int() 93 atomic_cmpset_long(volatile u_long *dst, u_long expect, u_long src) in atomic_cmpset_long() argument 104 "+a" (expect) /* 2 */ in atomic_cmpset_long()
|
/illumos-gate/usr/src/test/util-tests/tests/sed/ |
H A D | sed_addr.ksh | 23 typeset expect="$2" 27 [[ -n "$expect" ]] && printf "%s\n" $expect > $ef
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | pages.c | 147 uint_t sum, expect; in kdata_cksum() local 153 expect = descp->cpd_csum; in kdata_cksum() 156 expect = descp->cpd_usum; in kdata_cksum() 160 if (sum != expect) { in kdata_cksum() 163 expect, sum); in kdata_cksum()
|
/illumos-gate/usr/src/test/smbclient-tests/cmd/scripts/ |
H A D | passwd.exp | 40 expect { 55 expect {
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_scan.c | 71 scan(tok_kind expect, token *tokp) in scan() argument 74 if (tokp->kind != expect) in scan() 75 expected1(expect); in scan() 130 peekscan(tok_kind expect, token *tokp) in peekscan() argument 133 if (tokp->kind == expect) { in peekscan()
|