Discussion:
[ast-developers] cd -@ (XATTR) broken in latest ast-ksh alpha?
Cedric Blancher
2013-06-06 13:23:53 UTC
Permalink
Is it a know problem that cd -@ (cwd into NFSv4/cifs extended
attribute directories) is no longer working in the latest ast-ksh
alpha? This happens with ast-ksh.20130524 on Solaris 11.1.

Ced
--
Cedric Blancher <cedric.blancher at googlemail.com>
Institute Pasteur
Roland Mainz
2013-06-07 16:32:17 UTC
Permalink
On Thu, Jun 6, 2013 at 3:23 PM, Cedric Blancher
Post by Cedric Blancher
attribute directories) is no longer working in the latest ast-ksh
alpha? This happens with ast-ksh.20130524 on Solaris 11.1.
Mhhh... on OpenSolaris B145/AMD64/64bit I see only the the following
"cd -@"-related test failures from "bulitin_cd.sh":
-- snip --
+ /home/test001/ksh93/ast_ksh_20130524/build_i386_64bit_debug/arch/sol11.i386-64/src/cmd/ksh93/ksh
./src/cmd/ksh93/tests/shtests --locale
LD_LIBRARY_PATH_64=/home/test001/ksh93/ast_ksh_20130524/build_i386_64bit_debug/arch/sol11.i386-64/lib:
LD_LIBRARY_PATH=/home/test001/ksh93/ast_ksh_20130524/build_i386_64bit_debug/arch/sol11.i386-64/lib:
LD_LIBRARY_PATH_32=/home/test001/ksh93/ast_ksh_20130524/build_i386_64bit_debug/arch/sol11.i386-64/lib:
LC_ALL=C LANG=C VMALLOC_OPTIONS=abort
SHCOMP='/home/test001/ksh93/ast_ksh_20130524/build_i386_64bit_debug/arch/*/bin/shcomp'
./src/cmd/ksh93/tests/builtin_cd.sh
test builtin_cd begins at 2013-05-27+15:11:37
builtin_cd.sh[196]: test_cd_devfd1/0: Expected stdout to match
/etc, got ''
builtin_cd.sh[197]: test_cd_devfd1/0: Expected empty stderr,
got '/home/test001/ksh93/ast_ksh_20130524/build_i386_64bit_debug/arch/sol11.i386-64/src/cmd/ksh93/ksh:
cd: /dev/fd/11: [Bad address]'
builtin_cd.sh[198]: test_cd_devfd1/0: Unexpected exit code 1
builtin_cd.sh[196]: test_cd_devfd1/1: Expected stdout to match
/etc, got ''
builtin_cd.sh[197]: test_cd_devfd1/1: Expected empty stderr,
got '/home/test001/ksh93/ast_ksh_20130524/build_i386_64bit_debug/arch/sol11.i386-64/src/cmd/ksh93/ksh:
cd: /dev/fd/11: [Bad address]'
builtin_cd.sh[198]: test_cd_devfd1/1: Unexpected exit code 1
builtin_cd.sh[299]: test_cd_xattr1/2/'touch x3 ; cd -@ x3 ;
redirect {n}<"." ; cd .. ; (cd "/dev/fd/$n" ; print "hello3"
to match hello3, got ''
builtin_cd.sh[300]: test_cd_xattr1/2/'touch x3 ; cd -@ x3 ;
redirect {n}<"." ; cd .. ; (cd "/dev/fd/$n" ; print "hello3"
stderr, got '/home/test001/ksh93/ast_ksh_20130524/build_i386_64bit_debug/arch/sol11.i386-64/src/cmd/ksh93/ksh:
cd: /dev/fd/10: [Bad address]'
builtin_cd.sh[301]: test_cd_xattr1/2/'touch x3 ; cd -@ x3 ;
redirect {n}<"." ; cd .. ; (cd "/dev/fd/$n" ; print "hello3"
code 1
rmdir: /tmp/test001/test_builtin_cd.ahJLF5qf: cannot remove [File exists]
builtin_cd.sh[324]: Cannot remove temporary directory
/tmp/test001/test_builtin_cd.ahJLF5qf.
test builtin_cd failed at 2013-05-27+15:11:38 with exit code 10 [ 16
tests 10 errors ]
-- snip --

AFAIK this is all related to the issue that "cd /dev/fd/${fd}" is
broken in ast-ksh.2013-05-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;)
Cedric Blancher
2013-06-12 17:22:14 UTC
Permalink
Post by Cedric Blancher
attribute directories) is no longer working in the latest ast-ksh
alpha? This happens with ast-ksh.20130524 on Solaris 11.1.
Still broken in ast-ksh.20130611
Post by Cedric Blancher
Ced
--
Cedric Blancher <cedric.blancher at googlemail.com>
Institute Pasteur
Ced
--
Cedric Blancher <cedric.blancher at googlemail.com>
Institute Pasteur
Cedric Blancher
2013-06-19 15:53:20 UTC
Permalink
Post by Cedric Blancher
Post by Cedric Blancher
attribute directories) is no longer working in the latest ast-ksh
alpha? This happens with ast-ksh.20130524 on Solaris 11.1.
Still broken in ast-ksh.20130611
David, this was the 2nd bug report about cd /dev/fd being broken.

Ced
--
Cedric Blancher <cedric.blancher at googlemail.com>
Institute Pasteur
Loading...