mirror of
https://github.com/linux-msm/bootrr.git
synced 2026-02-25 13:12:03 -08:00
18 lines
258 B
Bash
Executable File
18 lines
258 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. bootrr
|
|
|
|
TEST_CASE_ID="$1"
|
|
DEVICE="$2"
|
|
|
|
if [ -z "${TEST_CASE_ID}" -o -z "${DEVICE}" ]; then
|
|
echo "Usage: $0 <test-case-id> <mmc-device>"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -L /sys/bus/mmc/devices/${DEVICE} ]; then
|
|
test_report_exit pass
|
|
fi
|
|
|
|
test_report_exit fail
|