diff options
Diffstat (limited to 'scripts/qemuimage-tests/tools')
-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 @@ | |||
1 | #!/bin/sh | ||
2 | # bash test script running in qemu | ||
3 | # | ||
4 | # Author: veera <veerabrahmamvr@huawei.com> | ||
5 | # | ||
6 | # This file is licensed under the GNU General Public License, | ||
7 | # Version 2. | ||
8 | # | ||
9 | |||
10 | which bash | ||
11 | if [ $? -eq 0 ]; then | ||
12 | echo "QEMU: bash is exist in the target by default" | ||
13 | exit 0 | ||
14 | else | ||
15 | echo "QEMU: No bash command in the qemu target" | ||
16 | exit 1 | ||
17 | fi | ||