poky/scripts/qemuimage-tests/tools/bash.sh
Veerabrahmam vr ea55ec97c0 qemuimagetest: basic function to check bash exists
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>
2012-09-10 13:01:46 +01:00

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