mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

one test case to check bash command availability on qemu target. Signed-off-by: veerabrahmam <veerabrahmamvr@huawei.com> (From OE-Core rev: 357478b624b27fdfce25b6064b0f64717db75fa6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
332 B
Bash
18 lines
332 B
Bash
#!/bin/sh
|
|
# bash test script running in qemu
|
|
#
|
|
# Author: veera <veerabrahmamvr@huawei.com>
|
|
#
|
|
# This file is licensed under the GNU General Public License,
|
|
# Version 2.
|
|
#
|
|
|
|
which bash
|
|
if [ $? -eq 0 ]; then
|
|
echo "QEMU: bash is exist in the target by default"
|
|
exit 0
|
|
else
|
|
echo "QEMU: No bash command in the qemu target"
|
|
exit 1
|
|
fi
|