diff options
Diffstat (limited to 'scripts/qemuimage-tests/tools/bash.sh')
-rw-r--r-- | scripts/qemuimage-tests/tools/bash.sh | 17 |
1 files changed, 17 insertions, 0 deletions
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 <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 |