]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
pTest-tcl fail fixed dengke/pTest-tcl-fail-fixed
authorDengke Du <dengke.du@windriver.com>
Wed, 16 Mar 2016 09:06:13 +0000 (05:06 -0400)
committerDengke Du <dengke.du@windriver.com>
Wed, 16 Mar 2016 09:27:32 +0000 (05:27 -0400)
commit2317b145ac8fcddf55b4f65266cf50745ddd3de1
tree7e68ec86d64741de4d75dc90cadc98af6f38c2c1
parent8debfea81e69d038bd2d56314b272cb74f5582ed
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

Signed-off-by: Dengke Du <dengke.du@windriver.com>
meta/recipes-core/netbase/netbase_5.3.bb