problem with dejagnu and amd automounter
Joseph H. Buehler
jhpb@sarto.gaithersburg.md.us
Fri Jan 16 07:10:00 GMT 1998
"Joseph H. Buehler" <jbuehler@hekimian.com> writes:
> Dejagnu does not interact well with the amd automounter. The problem
> seems to be that /usr/local/bin/../share/dejagnu/runtest.exp is not a
> good path to try when /usr/local is an automount point.
Here's a patch to runtest to fix this. "make check" works with this
patch applied.
Don't know how portable "dirname" is; the existing script seems to
prefer sed.
Joe Buehler
*** runtest.~1~ Wed Dec 31 15:34:10 1997
--- runtest Thu Jan 15 20:27:00 1998
***************
*** 89,95 ****
#
# which is a very weak assumption
#
! for i in $execpath/../share/dejagnu $execpath/../../share/dejagnu $execpath ; do
if expr $verbose \> 1 > /dev/null ; then
echo Looking for $i/runtest.exp.
fi
--- 89,95 ----
#
# which is a very weak assumption
#
! for i in `dirname $execpath`/share/dejagnu `dirname \`dirname $execpath\``/share/dejagnu $execpath ; do
if expr $verbose \> 1 > /dev/null ; then
echo Looking for $i/runtest.exp.
fi
More information about the Gcc-bugs
mailing list