pTest-tcl fail fixed
cover pTest-tcl fail fixed
The following changes since commit 8debfea81e69d038bd2d56314b272cb74f5582ed:
local.conf.sample: Disable prelink by default (2016-03-13 22:09:05 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib dengke/pTest-tcl-fail-fixed
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=dengke/pTest-tcl-fail-fixed
Dengke Du (1):
pTest-tcl fail fixed
meta/recipes-core/netbase/netbase_5.3.bb | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.1
PATCH 1/1 pTest-tcl fail fixed
http.test httpold.test socket.test failed when run the pTest-tcl,because the tcl script "info hostname" in /usr/lib/tcl/ptest/tests/http.test fail. The file /etc/hosts didn't contain the map from hostname to 127.0.0.1, so it need to add the map. In order to ensure the rootfs correct,add it at build time, add the following command:
"sed -i '1s/$/ ${MACHINE}/' ${WORKDIR}/hosts"in do_install() function in the file meta/recipes-core/netbase/netbase_5.3.bb
--- meta/recipes-core/netbase/netbase_5.3.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/netbase/netbase_5.3.bb +1 -0
@@ -14,6 +14,7 @@ SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1" SRC_URI[sha256sum] = "81f6c69795044d62b8ad959cf9daf049d0545fd466c52860ad3f933b1e97b88b" do_install () { + sed -i '1s/$/ ${MACHINE}/' ${WORKDIR}/hosts install -d ${D}/${mandir}/man8 ${D}${sysconfdir} install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts install -m 0644 etc-rpc ${D}${sysconfdir}/rpc
Signature · 1 line
1.9.1