[OE-core] [PATCH 6/8] busybox: remove three hostname test cases
Burton, Ross
ross.burton at intel.com
Wed Nov 21 12:16:53 UTC 2018
On Wed, 21 Nov 2018 at 05:35, Chen Qi <Qi.Chen at windriver.com> wrote:
> 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)
This is just a specific instance of the problem where alternatives may
not be what you want. The busybox test suite should be sure it's
running busybox tools. Having spoken to a few people about this
already, maybe busybox-ptest should contain a symlink farm for all the
applets to the busybox binary that run-ptest can put at the front of
$PATH.
> 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.
Let's fix the hostname setup so hosts is correct too.
Ross
More information about the Openembedded-core
mailing list