On Wed, Aug 14, 2013 at 11:14 PM, Roland Mainz <[email protected]> wrote:
> I'm getting a new test suite failure for the old Solaris
> "sun_solaris_cr_6763594_command_failure_execs_twice.sh" module with
> ast-ksh.2013-08-14 on Solaris 11/B145/AMD64/64bit:
> -- snip --
> test sun_solaris_cr_6763594_command_failure_execs_twice begins at
> 2013-08-14+22:55:14
> sun_solaris_cr_6763594_command_failure_execs_twice.sh[90]:
> Output
> '/home/test001/ksh93/ast_ksh_20130814/build_i386_64bit_debug/arch/sol11.i386-64/src/cmd/ksh93/ksh:
> ./myfoo: cannot execute [Permission denied]' does not match pattern
> '~(Elr)(.*:\ \./myfoo:\ \./myfoo:\ .*\[.*\])'.
> test sun_solaris_cr_6763594_command_failure_execs_twice failed at
> 2013-08-14+22:55:14 with exit code 1 [ 7 tests 1 error ]
> -- snip --
>
> I've attached the test module as
> "sun_solaris_cr_6763594_command_failure_execs_twice.sh.gz" ...
The difference between working and failing ksh93 looks this:
Old ksh93 (2011-02-08) prints:
-- snip --
$ /bin/ksh -x -c 'print "true" >myfoo ; chmod a+x,a-r myfoo ; command
./myfoo ; print $?'
+ print true
+ 1> myfoo
+ chmod a+x,a-r myfoo
+ command ./myfoo
/bin/ksh[1]: ./myfoo: ./myfoo: cannot execute [Permission denied]
+ print 126
126
-- snip --
ast-ksh.2013-08-14 prints this:
-- snip --
$ ~/bin/ksh -x -c 'print "true" >myfoo ; chmod a+x,a-r myfoo ; command
./myfoo ; print $?'
+ print true
+ 1> myfoo
+ chmod a+x,a-r myfoo
+ command ./myfoo
/home/test001/bin/ksh: ./myfoo: cannot execute [Permission denied]
+ print 126
126
-- snip --
Note the difference in the error messages... the old ksh93 prints the
line number ("[1]") and "myfoo" twice ("./myfoo: ./myfoo:") but the
new one does not...
----
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]
http://lists.research.att.com/mailman/listinfo/ast-developers