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

1 2 3 4 5 6 7 8 9

  /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/usr.bin/make/unit-tests/
cmd-errors-lint.mk 13 # expect: : undefined
17 # expect: make: Unclosed variable "UNCLOSED"
18 # expect-not: : unclosed-expression
22 # expect: make: Unclosed expression, expecting "}"
23 # expect-not: : unclosed-modifier
27 # expect: make: Unknown modifier ":Z"
28 # expect-not: : unknown-modifier
32 # expect: : end
35 # expect: exit status 2
cmd-errors.mk 11 # expect: : undefined--eol
15 # expect: make: Unclosed variable "UNCLOSED"
16 # expect-not: : unclosed-expression-
20 # expect: make: Unclosed expression, expecting "}"
21 # expect-not: : unclosed-modifier-
25 # expect: make: Unknown modifier ":Z"
26 # expect-not: : unknown-modifier--eol
30 # expect: : end-eol
33 # expect: exit status 2
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...]
directive-warning.mk 9 # expect+1: Unknown directive "warn"
11 # expect+1: Unknown directive "warn"
13 # expect+1: Unknown directive "warnin"
15 # expect+1: Unknown directive "warnin"
17 # expect+1: Missing argument for ".warning"
19 # expect+1: warning: message
21 # expect+1: Unknown directive "warnings"
23 # expect+1: Unknown directive "warnings"
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...]
opt-debug-cond.mk 9 # expect: CondParser_Eval: ${:U12345} > ${:U55555}
10 # expect: Comparing 12345.000000 > 55555.000000
13 # expect: CondParser_Eval: "string" != "string"
14 # expect: Comparing "string" != "string"
17 # expect: CondParser_Eval: "nonempty"
directive-info.mk 11 # expect+1: begin .info tests
13 # expect+1: Unknown directive "inf"
15 # expect+1: Missing argument for ".info"
17 # expect+1: message
19 # expect+1: indented message
21 # expect+1: Unknown directive "information"
23 # expect+1: Unknown directive "information"
29 # expect+1: Missing argument for ".info"
31 # expect+1: Missing argument for ".info"
35 # expect+1: Unknown directive "info-message
    [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.
posix-execution.mk 12 # expect: one-at-a-time: shell_variable is 'second'
19 # expect: echo "prefixes: ignore errors"; exit 13
20 # expect: prefixes: ignore errors
21 # expect-not: echo "prefixes: no echo"
22 # expect: prefixes: no echo
23 # expect: prefixes: always, no echo
32 # expect: shell-e-option: before
33 # expect: shell-e-option: after
39 # expect-not-matches: ^do%-prefix%-plus: a regular command
40 # expect: do-prefix-plus: prefixed by plu
    [all...]
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
cmdline-undefined.mk 11 # expect+30: From the command line: Undefined is .
12 # expect+30: From .MAKEFLAGS '=': Undefined is .
13 # expect+30: From .MAKEFLAGS ':=': Undefined is .
14 # expect+33: From the command line: Undefined is now defined.
15 # expect+33: From .MAKEFLAGS '=': Undefined is now defined.
16 # expect+33: From .MAKEFLAGS ':=': Undefined is now defined.
25 # expect+16: From the command line: Undefined is .
26 # expect+16: From .MAKEFLAGS '=': Undefined is .
27 # expect+16: From .MAKEFLAGS ':=': Undefined is .
28 # expect+19: From the command line: Undefined is now defined
    [all...]
varparse-errors.mk 37 # expect+1: Unknown modifier ":Z"
46 # expect+1: Unknown modifier ":Z"
69 # expect+4: Unknown modifier ":OX"
70 # expect+3: Unknown modifier ":OX"
71 # expect+2: Unknown modifier ":OX"
72 # expect+1: Unknown modifier ":OX"
80 # expect+1: Unclosed expression, expecting "}" for modifier "Q"
82 # expect+1: Unclosed expression, expecting "}" for modifier "sh"
84 # expect+1: Unclosed expression, expecting "}" for modifier "tA"
86 # expect+1: Unclosed expression, expecting "}" for modifier "tsX
    [all...]
directive-for-escape.mk 18 # expect+3: Unclosed expression, expecting "}" for modifier "U!""
19 # expect+2: !"
30 # expect+3: Unclosed expression, expecting "}" for modifier "U!"\\\\"
31 # expect+2: !"\\
46 # expect: . info ${:U\$}
47 # expect+10: $
48 # expect: . info ${:U${V}}
49 # expect+8: value
50 # expect: . info ${:U${V:=-with-modifier}}
51 # expect+6: value-with-modifie
    [all...]
moderrs.mk 28 # expect: make: Unknown modifier ":Z"
32 # expect: make: Unknown modifier ":Z"
36 # expect: make: Unclosed expression, expecting "}" for modifier "S,V,v,"
40 # expect: make: Unclosed expression after indirect modifier, expecting "}"
44 # expect: make: Unfinished modifier after "v", expecting ","
48 # expect: make: Unfinished modifier after "var}", expecting "@"
51 # expect: make: Unfinished modifier after "...}", expecting "@"
63 # expect: make: Unclosed expression, expecting "}" for modifier "@var@${var}}...@"
69 # expect: make: Unfinished modifier after "}", expecting "]"
72 # expect: make: Unfinished modifier after "#}", expecting "]
    [all...]
deptgt-silent-jobs.mk 24 # expect: compat: testing 1
25 # expect: compat: testing 2
26 # expect: compat: testing 3
30 # expect: jobs: testing 1
31 # expect: jobs: testing 2
32 # expect: jobs: testing 3
  /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/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"
t_miscquota.sh 67 local expect
71 expect=u
75 expect=g
87 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -${expect} \
93 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -x -${expect} /mnt
102 local expect
106 expect=u
110 expect=g
125 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -${expect} \
142 local expect
    [all...]
t_quotalimit.sh 59 local expect
64 expect=u
68 expect=g
72 expect="u g"
80 for q in ${expect} ; do
91 for q in ${expect} ; do
106 local expect
111 expect=u
115 expect=g
119 expect="u g
    [all...]
  /src/tests/lib/libm/
t_libm.h 12 long double expect = expect_; \
14 long double e = fabsl((r - expect)/expect); \
15 if (!(r == expect || e <= epsilon)) \
19 subtest, arg, r, r, expect, expect, e, e, epsilon); \
  /src/tests/lib/libbluetooth/
t_sdp_put.c 61 const uint8_t expect[] = { local in function:ATF_TC_BODY
67 ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
68 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
95 const uint8_t expect[] = { local in function:ATF_TC_BODY
100 ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
101 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0);
147 const uint8_t expect[] = { local in function:ATF_TC_BODY
158 ATF_REQUIRE_EQ(test.end - test.next, sizeof(expect));
179 const uint8_t expect[] = { local in function:ATF_TC_BODY
204 const uint8_t expect[] = { local in function:ATF_TC_BODY
238 const uint8_t expect[] = { local in function:ATF_TC_BODY
268 const uint8_t expect[] = { local in function:ATF_TC_BODY
301 const uint8_t expect[] = { local in function:ATF_TC_BODY
340 const uint8_t expect[] = { local in function:ATF_TC_BODY
369 const uint8_t expect[] = { local in function:ATF_TC_BODY
401 const uint8_t expect[] = { local in function:ATF_TC_BODY
440 const uint8_t expect[] = { local in function:ATF_TC_BODY
496 const uint8_t expect[] = { local in function:ATF_TC_BODY
549 const uint8_t expect[] = { local in function:ATF_TC_BODY
580 const uint8_t expect[] = { local in function:ATF_TC_BODY
615 const uint8_t expect[] = { local in function:ATF_TC_BODY
661 const uint8_t expect[] = { local in function:ATF_TC_BODY
718 const uint8_t expect[] = { local in function:ATF_TC_BODY
752 const uint8_t expect[] = { local in function:ATF_TC_BODY
788 const uint8_t expect[] = { local in function:ATF_TC_BODY
830 const uint8_t expect[] = { local in function:ATF_TC_BODY
    [all...]

Completed in 19 milliseconds

1 2 3 4 5 6 7 8 9