Discussion:
[ast-developers] ast-ksh.2013-08-14 test failures in "sun_solaris_cr_6763594_command_failure_execs_twice.sh" with "cannot execute" ...
Roland Mainz
2013-08-14 21:14:35 UTC
Permalink
Hi!

----

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" ...

----

Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sun_solaris_cr_6763594_command_failure_execs_twice.sh.gz
Type: application/x-gzip
Size: 1386 bytes
Desc: not available
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20130814/eff9d374/attachment.gz>
Roland Mainz
2013-08-14 21:37:56 UTC
Permalink
Post by Roland Mainz
I'm getting a new test suite failure for the old Solaris
"sun_solaris_cr_6763594_command_failure_execs_twice.sh" module with
-- snip --
test sun_solaris_cr_6763594_command_failure_execs_twice begins at
2013-08-14+22:55:14
./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) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Roland Mainz
2013-09-25 06:58:04 UTC
Permalink
Post by Roland Mainz
Post by Roland Mainz
I'm getting a new test suite failure for the old Solaris
"sun_solaris_cr_6763594_command_failure_execs_twice.sh" module with
-- snip --
test sun_solaris_cr_6763594_command_failure_execs_twice begins at
2013-08-14+22:55:14
./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" ...
-- 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 --
-- 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...
This issue is still present in ast-ksh.2013-09-24 ... ;-((

----

Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Loading...