Logo
Explore Help
Sign In
linuxmsm/bootrr
0
0
Fork 0
You've already forked bootrr
mirror of https://github.com/linux-msm/bootrr.git synced 2026-02-25 13:12:03 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
master
bootrr/helpers/assert_partition_found

18 lines
268 B
Plaintext
Raw Permalink Normal View History

db410c: Add initial bunch of tests Some random smoke tests for db410c. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-02-27 11:54:26 -08:00
#!/bin/sh
helpers: assert_{mmc,partition} use test_report_exit Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-20 16:10:17 -06:00
. bootrr
db410c: Add initial bunch of tests Some random smoke tests for db410c. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
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
helpers: assert_{mmc,partition} use test_report_exit Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-20 16:10:17 -06:00
test_report_exit pass
db410c: Add initial bunch of tests Some random smoke tests for db410c. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-02-27 11:54:26 -08:00
fi
helpers: assert_{mmc,partition} use test_report_exit Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-20 16:10:17 -06:00
test_report_exit fail
Reference in New Issue Copy Permalink
Powered by Gitea Page: 61ms Template: 6ms
English
English
Licenses API