Bad elf/tst-dlopenrpath.c test?

H. J. Lu hjl@lucon.org
Thu Aug 19 23:39:00 GMT 2004


I don't see how elf/tst-dlopenrpath.c will work in a fresh build
directory. $ORIGIN/test-subdir is added to DT_RPATH in
elf/tst-dlopenrpathmod.so. But if elf/test-subdir doesn't exist
when elf/tst-dlopenrpath starts, elf/test-subdir will be ignored
even if it is created by elf/tst-dlopenrpath.c later. I always get

couldn't open in-subdir.so from foo

in a fresh build directory.

Also those new tests don't use dlerror to report dlopen error.



H.J.



More information about the Libc-alpha mailing list