Files

17 lines
268 B
Bash
Raw Permalink Normal View History

2018-02-27 11:54:26 -08:00
#!/bin/sh
. bootrr
2018-02-27 11:54:26 -08:00
TEST_CASE_ID="$1"
PARTITION="$2"
if [ -z "${TEST_CASE_ID}" -o -z "${PARTITION}" ]; then
echo "Usage: $0 <test-case-id> <partition>"
exit 1
fi
if [ -L /dev/disk/by-partlabel/${PARTITION} ]; then
test_report_exit pass
2018-02-27 11:54:26 -08:00
fi
test_report_exit fail