These three test case are removed because of two reasons. 1) net-tools' hostname have different behaviour regarding some options So when net-tools is installed, test cases may fail. e.g. test x$(hostname -i) = x$(busybox hostname -i)
2) hostname may set to some value, e.g. qemux86-64, which is not an entry in /etc/hosts This results in lookup failure when using `hostname -f' as there's no entry in /etc/hosts. Signed-off-by: Chen Qi <qi.c...@windriver.com> --- meta/recipes-core/busybox/busybox.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index 228d41a..20c8b9d 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc @@ -352,6 +352,12 @@ do_install_ptest () { cp -r ${B}/testsuite ${D}${PTEST_PATH}/ cp ${B}/.config ${D}${PTEST_PATH}/ ln -s /bin/busybox ${D}${PTEST_PATH}/busybox + # Remove some hostname test cases as they may fail because of two reasons + # 1) net-tools' hostname have different behaviour regarding some options + # 2) hostname may set to some value, e.g. qemux86-64, which is not an entry in /etc/hosts + rm ${D}${PTEST_PATH}/testsuite/hostname/hostname-i-works + rm ${D}${PTEST_PATH}/testsuite/hostname/hostname-d-works + rm ${D}${PTEST_PATH}/testsuite/hostname/hostname-s-works } inherit update-alternatives -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core