/ast/src/cmd/ksh93/tests/ |
H A D | expand.sh | 103 expected=$1 106 [[ $got == $expected ]] || err_exit "'$pattern' failed -- expected '$expected' got '$got'"
|
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/"<aX [all...] |
H A D | signal.sh | 48 then err_exit "'kill -l $s' => $n, 'kill -l $n' => $t, kill -l $t => $m -- expected $n" 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[xt [all...] |
H A D | comvar.sh | 375 err_exit "compound indexed array pretty print failed -- expected $exp, got $got" 391 err_exit "compound indexed array pretty print failed -- expected $exp, got $got" 407 err_exit "compound indexed array pretty print failed -- expected $exp, got $got" 460 expected=$'typeset -C -a mica01=([4]=(a_string=\'foo bar\';some_stuff=hello))' 461 [[ $(typeset -p mica01) == "$expected" ]] || err_exit 'appened to indexed array compound variable not working' 466 expected=$'(\n\ttypeset -l -i x=0\n)' 467 [[ $(print -v x) == "$expected" ]] || err_exit "'print -v x' should be $expected" 479 expected="typeset -C -A hello19=([19]=(one='xone 19';two='xtwo 19') [23]=(one='xone 23';two='xtwo 23'))" 480 [[ $(typeset -p hello19) == "$expected" ]] || prin [all...] |
H A D | types.sh | 121 expected=2 123 [[ "$got" == "$expected" ]] || err_exit "typedefs in dot script failed -- expected '$expected', got '$got'" 201 expected=aha 203 [[ "$got" == "$expected" ]] || err_exit "type '_' reference failed -- expected '$expected', got '$got'" 217 expected=foo 219 [[ "$got" == "$expected" ]] || err_exi [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 $got" 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', go [all...] |
H A D | coprocess.sh | 120 then err_exit "${SHELL-ksh} $cat coprocess io failed -- got '$got', expected '$exp'" 164 [[ $r == $e ]] || err_exit "$cat coprocess timing bug -- expected $e, got '$r'" 177 [[ $r == $e ]] || err_exit "$cat coprocess command substitution bug -- expected $e, got '$r'" 222 [[ $REPLY == "$exp" ]] || err_exit "REPLY from $cat coprocess failed -- expected '$exp', got '$REPLY'" 264 [[ $got == $exp ]] || err_exit "coshell(3) identification sequence failed -- expected '$exp', got '$got'" 280 [[ $got == $exp ]] || err_exit "main coprocess main query failed -- expected $exp, got '$got'" 291 [[ $got == $exp ]] || err_exit "main coprocess subshell query failed -- expected $exp, got '$got'" 307 [[ $got == $exp ]] || err_exit "subshell coprocess main query failed -- expected $exp, got '$got'" 321 [[ $got == $exp ]] || err_exit "subshell coprocess subshell query failed -- expected $exp, got '$got'" 337 [[ $REPLY == world ]] || err_exit "expected 'worl [all...] |
H A D | attributes.sh | 306 expected='YWJjZGVmZ2hpag==' 310 [[ $foo == "$expected" ]] || err_exit 'read foo, where foo is "typeset -b -Z10" not working' 314 [[ $foo == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -Z10" not working' 318 [[ ${foo[4]} == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -A" foo not working' 322 [[ ${foo[4]} == "$expected" ]] || err_exit 'read -N10 foo, where foo is "typeset -b -a" foo not working' 355 [[ $got == $exp ]] || err_exit "[ '$2' '$3' '$4' ] env sequence failed -- expected '$exp', got '$got'" 382 [[ $got == $exp ]] || err_exit "typeset -l fails on numeric value -- expected '$exp', got '$got'" 390 expected=$'(\n\t[0]=WORLD\n\t[1]=HELLO\n\t[2]=CHICKEN\n)' 391 [[ $(print -v s) == "$expected" ]] || err_exit 'typeset -u for associative array does not display correctly' 430 expected [all...] |
H A D | substring.sh | 134 while read -r pattern string expected 135 do if (( expected )) 505 expected='d:\nt\box\something' 506 [[ ${string/*\(+([!\)])\)*/\1} == "$expected" ]] || err_exit "substring expansion failed '${string/*\(+([!\)])\)*/\1}' returned -- '$expected' expected" 555 then err_exit "i='$1'; \${i/~($2)$3/\\(\\0\\)} failed -- expected '$4', got '$o'" 559 then err_exit "i='$1'; \${i/~($2)($3)/\\(\\1\\)} failed -- expected '$4', got '$o'"
|
H A D | arrays2.sh | 168 expected='typeset -a -l -E c.ar=([2]=([3]=([3]=5) ) )' 172 [[ $(typeset -p c.ar) == "$expected" ]] || err_exit "c.ar[2][3][3]=5;typeset -c c.ar expands to $(typeset -p c.ar)"
|
H A D | basic.sh | 53 [[ $g == $2 ]] || err_exit "umask 0; umask $1 failed -- expected $2, got $g" 315 (( $# == 2 )) || err_exit "$# jobs not reported -- 2 expected" 412 expected=foreback 414 [[ $got == $expected ]] || err_exit "command substitution background process output error -- got '$got', expected '$expected'" 452 [[ $got == $exp ]] || err_exit "pipe to function with conditional fails -- expected '$exp', got '$got'" 458 [[ $got == $exp ]] || err_exit "pipe to { ... } with conditional fails -- expected '$exp', got '$got'" 465 [[ $got == $exp ]] || err_exit "pipe to ( ... ) with conditional fails -- expected '$exp', got '$got'"
|
H A D | locale.sh | 39 [[ "$b" == "$a" ]] || err_exit "locale not restored after subshell -- expected '$a', got '$b'" 41 [[ "$b" == "$a" ]] || err_exit "locale not restored after subshell -- expected '$a', got '$b'" 54 [[ $b == "$n" ]] || err_exit "LC_ALL=$locale printf difference for \"$s\" -- expected '$n', got '$b'" 121 [[ $got == $exp ]] || err_exit "command wc LC_ALL default failed -- expected '$exp', got '$got'" 135 [[ $got == $exp ]] || err_exit "builtin wc LC_ALL default failed -- expected '$exp', got '$got'" 182 [[ $got == $exp ]] || err_exit "${T} sequence failed -- expected '$exp', got '$got'" 203 [[ $got == "$exp" ]] || err_exit "LC_ALL test script failed -- expected '$exp', got '$got'" 209 [[ $got == "$exp" ]] || err_exit "multibyte variable definition/expansion failed -- expected '$exp', got '$got'" 211 [[ $got == "$exp" ]] || err_exit "multibyte ksh function definition/execution failed -- expected '$exp', got '$got'" 213 [[ $got == "$exp" ]] || err_exit "multibyte posix function definition/execution failed -- expected ' [all...] |
H A D | heredoc.sh | 287 [[ $1 == $2 ]] || echo expected $1, got $2
|
/ast/src/cmd/pax/ |
H A D | paxlib.c | 125 paxchecksum(Pax_t* pax, Paxarchive_t* ap, Paxfile_t* f, unsigned long expected, unsigned long value) argument 129 if (expected != value) 131 z = ((expected | value) & 0xffff0000) ? 8 : 4; 132 (*pax->errorf)(NiL, pax, 2, "%s%s%s: %s archive checksum error -- expected %0*lx != %0*lx", ap->name, TXT(f, f->name), ap->format->name, z, expected, z, value);
|
H A D | format.c | 153 if (!(fp = ap->expected)) 182 if (ap->expected) 183 error(3, "%s: unknown input format -- %s expected", ap->name, ap->expected->name);
|
H A D | pax.h | 379 unsigned long checksum; /* expected base checksum */ 388 off_t size; /* expected base size */ 426 Format_t* expected; /* expected format */ \
|
H A D | delta.c | 181 error(2, "%s: %s: corrupt archive: checksum mismatch -- expected %08lx, got %08lx", ap->name, f->name, f->delta.checksum & 0xffffffff, x & 0xffffffff); 333 fp = bp->expected; 334 bp->expected = 0; 349 bp->expected = fp; 926 error(3, "%s: %s: base archive size mismatch -- expected %I*u, got %I*u", ap->name, bp->name, sizeof(size), size, sizeof(bp->size), bp->size); 929 error(1, "%s: %s: base archive checksum mismatch -- expected %08lx, got %08lx", ap->name, bp->name, checksum & 0xffffffff, bp->checksum & 0xffffffff);
|
/ast/src/cmd/re/ |
H A D | testglob.c | 146 H(" Field 3: the expected glob() return value, OK for success, glob\n"); 502 int expected; local 783 bad("locale query expected\n", NiL); 788 bad("locale field expected\n", NiL); 987 expected = got = 0; 990 expected = i; 994 if (expected != got) { 1001 printf("%s expected, %s returned", codes[expected].name, codes[got].name); 1067 printf(" expected, "); [all...] |
H A D | testregex.c | 276 T(" is expected. BADPAT is acceptable in place of any regcomp(3)\n"); 878 printf(" expected: %s", ans); 908 printf(" expected, "); 1232 int expected; local 1556 bad("locale query expected\n", NiL, NiL, 0, 0); 1561 bad("locale field expected\n", NiL, NiL, 0, 0); 2002 printf(" expected, "); 2035 printf("at least %d expected, %d returned\n", nsub, preg.re_nsub); 2051 printf("%s expected, OK returned\n", ans); 2078 expected [all...] |
/ast/src/cmd/INIT/ |
H A D | mktest.sh | 42 it to the expected output in '$PREFIX$'\aunit\a.out. Run the test 64 expected.] 76 ?Ignore space differences when comparing expected output.] 123 *) print -u2 -r -- $command: --style=$OPTARG: regress or shell expected 145 print -u2 -r -- $command: test command script path expected 288 then print -u2 -r -- $command: $SCRIPT: UNIT statement or operand expected 585 results in $PREFIX${UNIT[0]}.tmp and compare with expected results in
|
H A D | package.sh | 603 1) echo $command: $1: authorization user name argument expected >&2; exit 1 ;; 623 1) echo $command: $1: authorization password argument expected >&2; exit 1 ;; 1399 1) echo $command: $action: $1: db file argument expected >&2 1407 1) echo $command: $action: $1: host pattern argument expected >&2 1655 -) echo "$command: $action: canon: host type name expected" >&2 2022 expected=$1 host=$2 arch=$3 mach=$4 os=$5 sys=$6 rel=$7 ver=$8 4225 echo $command: $3: download error: expected $4 bytes, got $z >&2 4235 echo $command: $3: download $checksum error: expected $5, got $z >&2 5218 0) echo "$command: at least one package name expected" >&2 5232 0) echo "$command: $action: target directory argument expected" > [all...] |
/ast/src/cmd/mam/ |
H A D | mamexec.sh | 322 *) echo $_val_: $_op_ $_name_ expected >&2
|
/ast/src/cmd/tw/ |
H A D | find.c | 982 error(2, "(...) imbalance -- closing ) expected", np->name);
|
/ast/src/lib/libjcl/ |
H A D | parse.c | 59 syntax(Jcl_t* jcl, int level, char* token, char* expected, char* type) argument 63 if (expected) 64 (*jcl->disc->errorf)(NiL, jcl->disc, level, "%s: %s expected", token ? token : "EOF", expected); 292 (*jcl->disc->errorf)(NiL, jcl->disc, 1, "%%%%%s: %s: left operand not expected", f, p); \ 306 (*jcl->disc->errorf)(NiL, jcl->disc, 1, "%%%%%s: left operand expected", f); \ 598 (*jcl->disc->errorf)(NiL, jcl->disc, 2, "%-.*s...: invalid card: // expected", 8, s); 1848 (*jcl->disc->errorf)(NiL, jcl->disc, 2, "%s: operator expected in IF expression", t); 1914 (*jcl->disc->errorf)(NiL, jcl->disc, 2, "THEN expected");
|
/ast/src/cmd/html/ |
H A D | troff2html.c | 2211 error(1, "%s: two arguments expected", ap->argv[0]); 2225 error(1, "%s: two arguments expected", ap->argv[0]); 2277 error(1, "%s: one argument expected", ap->argv[0]); 2322 error(1, "%s: two arguments expected", ap->argv[0]); 2433 error(1, "%s: at least one argument expected", ap->argv[0]);
|