From ea55ec97c015d0ab8fc56bf99f2d4e81e05e3b15 Mon Sep 17 00:00:00 2001 From: Veerabrahmam vr Date: Thu, 6 Sep 2012 06:29:16 +0000 Subject: qemuimagetest: basic function to check bash exists one test case to check bash command availability on qemu target. Signed-off-by: veerabrahmam (From OE-Core rev: 357478b624b27fdfce25b6064b0f64717db75fa6) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- scripts/qemuimage-tests/tools/bash.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/qemuimage-tests/tools/bash.sh (limited to 'scripts/qemuimage-tests/tools') diff --git a/scripts/qemuimage-tests/tools/bash.sh b/scripts/qemuimage-tests/tools/bash.sh new file mode 100644 index 0000000000..f6958f0e7e --- /dev/null +++ b/scripts/qemuimage-tests/tools/bash.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# bash test script running in qemu +# +# Author: veera +# +# 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 -- cgit v1.2.3-54-g00ecf