On Fri, Sep 28, 2012 at 10:41 AM, Cedric Blancher
<[email protected]> wrote:
> On 28 September 2012 07:44, Glenn Fowler <[email protected]> wrote:
>>
>> { INIT ast-ksh } 2012-09-27 alphas posted to
>> www.research.att.com/sw/download/alpha/
>>
>> the next alpha will migrate current -lcmdtst ksh builtins to -lcmd,
>> will static bind all -lcmd builtins to the /opt/ast/bin virtual dir,
>> and will provide a way to rename /opt/ast/bin via the environment
>
> We experience more failures on Linux, both latest Suse and Fedora
> (posix_spawn() has been disabled):
> test arrays begins at 2012-09-28+09:38:47
> arrays.sh[665]: Fooa[a] is {Foo[a]} not AA
> test arrays failed at 2012-09-28+09:50:19 with exit code 1 [ 147 tests 1
> error ]
>
> test options begins at 2012-09-28+10:18:25
> ./src/cmd/ksh93/tests/options.sh: line 121: 25075: Memory fault
> ./src/cmd/ksh93/tests/options.sh: line 125: 25079: Memory fault
> options.sh[420]: option i not in $-
> options.sh[420]: option E not in $-
> options.sh[429]: option interactive not equivalent to i
> options.sh[429]: option rc not equivalent to E
> options.sh[446]: setting HISTFILE when not in environment fails
> test options failed at 2012-09-28+10:18:31 with exit code 1 [ 143
> tests 1 error ]
>
> test pty begins at 2012-09-28+10:18:45
> pty.sh[152]: POSIX sh 091(C): line 164: expected "^hello\r?\n$", got
> EOF
> pty.sh[168]: POSIX sh 093(C): line 176: expected "^hello\r?\n$", got
> EOF
> pty.sh[184]: POSIX sh 094(C): line 194: expected "^hello\r?\n$", got
> EOF
> pty.sh[227]: POSIX sh 097(C): line 235: expected "^ok\r?\n$", got EOF
> pty.sh[431]: process/terminal group exercise: line 435:
> expected ":$|:\E|lines", got EOF
> test pty failed at 2012-09-28+10:18:46 with exit code 1 [ 20 tests 1 error ]
>
> The pty failures are specific to Suse, but only because Suse ships
> /usr/bin/pty which is required by the test.
Mhhh... I see the same issues in pty.sh... but here is an interesting
datapoint: If I apply the fix/workaround for options.sh...
-- snip --
diff -r -u original/src/cmd/ksh93/sh/main.c
build_i386_64bit_debug/src/cmd/ksh93/sh/main.c
--- src/cmd/ksh93/sh/main.c 2012-09-23 03:44:13.000000000 +0200
+++ src/cmd/ksh93/sh/main.c 2012-10-12 00:49:34.894900028 +0200
@@ -227,7 +227,7 @@
if(name =
sh_mactry(shp,nv_getval(ENVNOD)))
name = *name ?
strdup(name) : (char*)0;
#if SHOPT_SYSRC
- if(!strmatch(name, "?(.)/./*"))
+ if(name && !strmatch(name, "?(.)/./*"))
sh_source(shp, iop, e_sysrc);
#endif
if(name)
-- snip --
... then the failures are reduced to...
-- snip --
$ (export SHELL=~/bin/ksh SHCOMP=~/bin/shcomp ; for i in pty.sh ; do
LC_ALL=zh_CN.GB18030 $SHELL ../src/cmd/ksh93/tests/shtests -l "$i" ;
done)
test pty(zh_CN.GB18030) begins at 2012-10-12+02:34:38
pty.sh[431]: process/terminal group exercise: line 435:
expected ":$|:\E|lines", got EOF
test pty(zh_CN.GB18030) failed at 2012-10-12+02:34:52 with exit code 1
[ 20 tests 1 error ]
test pty(shcomp) begins at 2012-10-12+02:34:52
shcomp-pty.ksh[431]: process/terminal group exercise: line
435: expected ":$|:\E|lines", got EOF
test pty(shcomp) failed at 2012-10-12+02:35:05 with exit code 1 [ 20
tests 1 error ]
-- snip --
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) [email protected]
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers