Nothing in this minimal script seems to require bash. We often run these tests on embedded devices where the only shell available is the busybox ash. Use sh instead. Signed-off-by: Rolf Eike Beer <eb@emlix.com> Cc: stable@vger.kernel.org Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
12 lines
164 B
Bash
Executable file
12 lines
164 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "--------------------"
|
|
echo "running socket test"
|
|
echo "--------------------"
|
|
./socket
|
|
if [ $? -ne 0 ]; then
|
|
echo "[FAIL]"
|
|
else
|
|
echo "[PASS]"
|
|
fi
|
|
|