Adding a "network" task specific flag which then triggers networking to
be enabled for this task, it is otherwise disabled which will cause
failures while running oe-selftest.
Fixes the following issues while running oe-selftest for gcc:
1)ssh: connect to host X.X.X.X port 22: Network is unreachable.
2)Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf.
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_check[prefuncs] += "check_prepare"
do_check[dirs] = "${WORKDIR}/dejagnu ${B}"
do_check[nostamp] = "1"
+do_check[network] = "1"
do_check() {
export DEJAGNU="${WORKDIR}/dejagnu/site.exp"