Closed jbeich closed 4 years ago
Is /home
a symlink to usr/home
?
The tests do not account for the path pointed to by ${HOME}
containing a symbolic link.
Is
/home
a symlink tousr/home
?
Correct. This is the default behavior on FreeBSD. I'm not sure where in FreeBSD source it's define though.
If I get rid of the symlink (as root):
cd /
rm home
mv usr/home .
Then all the CWD
-related failures go away.
I also tried this (as myself):
/bin/sh
cd /usr/home/kim/src/tcsh
make test
This got ${PWD}
in the calling shell to be the absolute path. But it doesn't make the tests succeed.
I'm not familiar enough with autotest
to figure out how to make it redefine ${PWD}
in its initialisation.
Affects at least 11.3-RELEASE, 12.1-RELEASE and 13.0-CURRENT. Running under
/tmp/tcsh
works fine but not under/home/whatever/tcsh
. Tested with/bin/sh
and/usr/local/bin/bash
as parent shell.