HomeSort by: relevance | last modified time | path
    Searched refs:expect (Results 1 - 25 of 408) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/tests/usr.bin/printf/
printf.sh 93 expect() function
155 WANT="$1"; shift # we do not really expect this, but ...
230 expect abcd abcd
231 expect % %%
232 expect xxx%yyy xxx%%yyy
233 expect -123 -123
249 expect "${BSL}" '\\'
250 expect '?' '\\' # must be just 1 char
252 expect "${NL}" '\n'
253 expect " " '\t' # a literal <tab> in "
    [all...]
  /src/tests/lib/libc/string/
t_stresep.c 38 #define expect(a) \ macro
58 expect("foo bar");
59 expect("baz");
60 expect("bar foo ");
61 expect("bar foo");
62 expect(" baz");
63 expect("bar ");
67 expect("aa");
68 expect("bb");
69 expect("cc dd-")
    [all...]
t_memmem.c 65 #define expect(b) \ macro
81 expect(memmem(b2, lb2, p0, lp0) == b2);
82 expect(memmem(b0, lb0, p0, lp0) == b0);
83 expect(memmem(b0, lb0, p1, lp1) == NULL);
84 expect(memmem(b1, lb1, p1, lp1) == NULL);
86 expect(memmem(b2, lb2, p1, lp1) == b2);
87 expect(memmem(b2, lb2, p2, lp2) == (b2 + 4));
88 expect(memmem(b2, lb2, p3, lp3) == (b2 + 7));
90 expect(memmem(b2, lb2, p5, lp5) == b2);
91 expect(memmem(b2, lb2, p6, lp6) == (b2 + 9))
    [all...]
  /src/crypto/external/cpl/tpm-tools/dist/test/
tpm_changeownerauth01.sh 1 #!/usr/bin/expect -f
68 expect "Enter owner password" {
71 expect "Enter new SRK" {
73 expect "Confirm" {
78 expect "Enter new owner" {
80 expect "Confirm" {
86 expect {
88 expect "Tspi_Context_Close success" {
93 expect "Tspi_Context_Close success" {
106 expect "Enter owner password"
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/recipes/
02-test_windows_registry.t 20 my $expect;
52 $expect = "@expectossldir";
54 $expect =~ s/HKEY_LOCAL_MACHINE.*\n*//;
55 $expect =~ s/\n//g;
56 $expect =~ s/.*REG_EXPAND_SZ *//;
57 $expect =~ s/ .*$//;
60 ok(grep(/$expect/,$actual), "Confirming version output for openssldir from registry");
64 $expect = "@expectengdir";
66 $expect =~ s/HKEY_LOCAL_MACHINE.*\n*//;
67 $expect =~ s/\n//g
    [all...]
15-test_gendhparam.t 21 expect => [ 'BEGIN X9.42 DH PARAMETERS', 'gindex:', 'pcounter:', 'SEED:' ],
27 expect => [ 'ERROR' ],
33 expect => [ 'BEGIN X9.42 DH PARAMETERS', 'gindex:', 'pcounter:', 'SEED:' ],
39 expect => [ 'BEGIN X9.42 DH PARAMETERS', 'h:', 'pcounter:', 'SEED:' ],
46 expect => [ "BEGIN X9.42 DH PARAMETERS" ],
52 expect => [ "ERROR" ],
57 expect => [ 'BEGIN DH PARAMETERS', 'GROUP:' ],
63 expect => [ 'BEGIN DH PARAMETERS', 'GROUP:' ],
69 expect => [ 'BEGIN DH PARAMETERS', 'GROUP:' ],
76 expect => [ 'BEGIN DH PARAMETERS', 'GROUP:']
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/recipes/
15-test_gendhparam.t 21 expect => [ 'BEGIN X9.42 DH PARAMETERS', 'gindex:', 'pcounter:', 'SEED:' ],
27 expect => [ 'ERROR' ],
33 expect => [ 'BEGIN X9.42 DH PARAMETERS', 'gindex:', 'pcounter:', 'SEED:' ],
39 expect => [ 'BEGIN X9.42 DH PARAMETERS', 'h:', 'pcounter:', 'SEED:' ],
46 expect => [ "BEGIN X9.42 DH PARAMETERS" ],
52 expect => [ "ERROR" ],
57 expect => [ 'BEGIN DH PARAMETERS', 'GROUP:' ],
63 expect => [ 'BEGIN DH PARAMETERS', 'GROUP:' ],
69 expect => [ 'BEGIN DH PARAMETERS', 'GROUP:' ],
76 expect => [ 'BEGIN DH PARAMETERS', 'GROUP:']
    [all...]
  /src/external/lgpl3/mpfr/dist/tests/
tbeta.c 53 mpfr_t z, w, r, expect; local
58 mpfr_init2 (expect, prec);
62 mpfr_set_zero (expect, 1);
63 TEST(prec, r, z, w, expect);
67 mpfr_set_nan (expect);
68 TEST(prec, r, z, w, expect);
72 mpfr_set_nan (expect);
73 TEST(prec, r, z, w, expect);
77 mpfr_set_inf (expect, 1);
78 TEST(prec, r, z, w, expect);
143 mpfr_t r, z, w, expect; local
177 mpfr_t r, z, w, expect; local
222 mpfr_t r, z, w, expect; local
284 mpfr_t r, z, w, expect; local
    [all...]
  /src/external/public-domain/xz/dist/tests/
test_index.c 25 expect(i != NULL);
34 expect(i != NULL);
35 expect(lzma_index_append(i, NULL, 101, 555) == LZMA_OK);
36 expect(lzma_index_append(i, NULL, 602, 777) == LZMA_OK);
37 expect(lzma_index_append(i, NULL, 804, 999) == LZMA_OK);
46 expect(i != NULL);
56 expect(lzma_index_append(i, NULL, t, n) == LZMA_OK);
61 expect(lzma_index_block_count(i) == BIG_COUNT);
62 expect(lzma_index_total_size(i) == total_size);
63 expect(lzma_index_uncompressed_size(i) == uncompressed_size)
    [all...]
test_filter_flags.c 82 expect(!encode(2));
83 expect(!decode(2));
84 expect(decoded_flags.options == NULL);
90 expect(!encode(2));
91 expect(!decode(2));
92 expect(decoded_flags.options == NULL);
97 expect(!encode(6));
98 expect(!decode(6));
99 expect(decoded_flags.options != NULL);
102 expect(decoded->start_offset == options.start_offset)
    [all...]
test_stream_flags.c 54 expect(lzma_stream_header_encode(&known_flags, buffer) == LZMA_OK);
78 expect(lzma_stream_footer_encode(&known_flags, buffer) == LZMA_OK);
89 expect(lzma_stream_header_encode(&known_flags, buffer)
92 expect(lzma_stream_footer_encode(&known_flags, buffer)
97 expect(lzma_stream_header_encode(&known_flags, buffer)
100 expect(lzma_stream_footer_encode(&known_flags, buffer)
107 expect(lzma_stream_header_encode(&known_flags, buffer) == LZMA_OK);
109 expect(lzma_stream_footer_encode(&known_flags, buffer)
114 expect(lzma_stream_header_encode(&known_flags, buffer) == LZMA_OK);
116 expect(lzma_stream_footer_encode(&known_flags, buffer
    [all...]
  /src/usr.bin/make/unit-tests/
vardebug.mk 7 # expect: Global: VAR = added
9 # expect: Global: VAR = overwritten
11 # expect: Global: delete VAR
13 # expect: Global: ignoring delete 'VAR' as it is not found
17 # expect: Global: ignoring ' = empty name' as the variable name '${:U}' expands to empty
19 # expect: Global: ignoring ' += empty name' as the variable name '${:U}' expands to empty
24 # expect: Global: VAR = 1
26 # expect: Global: VAR = 1 2
28 # expect: Global: VAR = 1 2 3
31 # expect: Pattern for ':M' is "[2]
    [all...]
cmd-errors-jobs.mk 27 # expect: : undefined-direct--eol
28 # expect: end undefined-direct with status 0
29 # expect: : undefined-direct--eol
30 # expect: end undefined-indirect with status 0
50 # expect-not-matches: ^: unexpected
51 # expect: make: Unclosed variable "UNCLOSED"
52 # expect: in command ": unexpected $@-${UNCLOSED"
53 # expect: make: Unclosed expression, expecting "}"
54 # expect: make: Unknown modifier ":Z"
55 # expect: end parse-error-direct with status
    [all...]
var-recursive.mk 9 # expect+2: Variable DIRECT is recursive.
10 # expect+1: <>
17 # expect+2: Variable INDIRECT1 is recursive.
18 # expect+1: <>
25 # expect+1: <ok>
32 # expect+2: Variable MODIFIERS is recursive.
33 # expect+1: <Mpattern}>
41 # expect+2: Variable V is recursive.
42 # expect+1: <>
49 # expect: : before-recursiv
    [all...]
directive-for-lines.mk 10 # expect+21: This is line 31.
11 # expect+20: This is line 31.
12 # expect+26: This is line 38.
14 # expect+17: This is line 31.
15 # expect+16: This is line 31.
16 # expect+22: This is line 38.
opt-debug-var.mk 8 # expect: Global: ASSIGNED = value
12 # expect: Global: SUBST = # (empty)
13 # expect: Global: SUBST = value
26 # expect: Var_Parse: y(ASSIGNED) (eval)
32 # expect: Var_Parse: $U (eval-defined-loud)
33 # expect+1: Variable "U" is undefined
38 # expect: Var_Parse: $< (eval-defined-loud)
39 # expect+1: Variable "<" is undefined
  /src/tests/games/
t_factor.sh 28 expect() { function
43 expect '8675309' '8675309: 8675309'
52 expect '6172538568' '6172538568: 2 2 2 3 7 17 2161253'
62 expect '2147483647111311' '2147483647111311: 3 3 3 131 607148331103'
72 expect '99999999999991' '99999999999991: 7 13 769231 1428571' Need_Crypto
82 expect '-h 8675309' '8675309: 8675309'
91 expect '-h 6172538568' '6172538568: 2^3 3 7 17 2161253'
101 expect '-h 2147483647111311' '2147483647111311: 3^3 131 607148331103'
111 expect '-h 99999999999991' '99999999999991: 7 13 769231 1428571' Need_Crypto
121 expect '-hx 8675309' '0x845FED: 0x845FED
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/pending/
tests.sh 54 expect="10 mail.example."
56 test "$ans" = "$expect" || ret=1
57 test $ret = 0 || echo_i "failed, got '$ans', expected '$expect'"
62 expect="10.0.0.2"
64 test "$ans" = "$expect" || ret=1
65 test $ret = 0 || echo_i "failed, got '$ans', expected '$expect'"
74 expect="10 mail.example.com."
76 test "$ans" = "$expect" || ret=1
77 test $ret = 0 || echo_i "failed, got '$ans', expected '$expect'"
92 expect="192.0.2.3
    [all...]
  /src/external/gpl2/dtc/dist/tests/
fdtget-runtest.sh 6 EXPECT=tmp.expect.$$
7 rm -f $LOG $EXPECT
8 trap "rm -f $LOG $EXPECT" 0
10 expect="$1"
11 printf '%b\n' "$expect" > $EXPECT
16 if cmp $EXPECT $LOG>/dev/null; then
21 cat $EXPECT
  /src/external/gpl3/gdb/dist/gdb/contrib/
expect-read1.sh 25 # bash$ EXPECT=$srcdir/gdb/contrib/expect-read1.sh runtest
27 # bash$ EXPECT=../contrib/expect-read1.sh runtest
32 echo >&2 "$0: Cannot find 'srcdir/gdb/contrib/expect-read1.c' at '$C'."
43 SO=$tmpdir/expect-read1.so
50 # Call expect with the shared library preloaded.
51 LD_PRELOAD=$SO expect "$@"
  /src/external/gpl3/gdb.old/dist/gdb/contrib/
expect-read1.sh 25 # bash$ EXPECT=$srcdir/gdb/contrib/expect-read1.sh runtest
27 # bash$ EXPECT=../contrib/expect-read1.sh runtest
31 echo >&2 "$0: Cannot find 'srcdir/gdb/contrib/expect-read1.c' at '$C'."
34 SO=/tmp/expect-read1.$$.so
42 LD_PRELOAD=$SO expect "$@"
  /src/external/mpl/bind/dist/tests/isc/
regex_test.c 47 int expect; member in struct:__anon24230
2301 if (((r != 0 && tests[i].expect != -1) ||
2302 (r == 0 && tests[i].expect == -1)) &&
2306 preg.re_nsub != (unsigned int)tests[i].expect &&
2309 tests[i].expect = preg.re_nsub;
2322 if (r != tests[i].expect) {
2324 tests[i].expression, r, tests[i].expect);
2326 assert_int_equal(r, tests[i].expect);
  /src/external/mpl/bind/dist/fuzz/
isc_lex_getmastertoken.c 51 isc_tokentype_t expect; local
54 if (size < sizeof(expect) + sizeof(eol)) {
58 (void)memmove(&expect, data, sizeof(expect));
59 data += sizeof(expect);
60 size -= sizeof(expect);
73 result = isc_lex_getmastertoken(lex, &token, expect, eol);
  /src/tests/fs/ffs/
t_getquota.sh 43 local expect
48 expect=u
52 expect=g
56 expect="u g"
65 for q in ${expect} ; do
93 local expect
97 expect=u
101 expect=g
105 expect="u g"
  /src/external/bsd/libarchive/dist/libarchive/test/
test_read_format_gtar_sparse.c 178 struct contents expect; local
204 expect = *cts++;
210 if(actual.o < expect.o) {
219 } else if (actual.o == expect.o) {
223 assertEqualInt(c, *expect.d);
224 expect.d++;
225 expect.o++;
226 expect.s--;
228 if (expect.s <= 0)
229 expect = *cts++
    [all...]

Completed in 42 milliseconds

1 2 3 4 5 6 7 8 91011>>