diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-11-18 17:04:04 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-11-18 17:04:04 +0100 |
commit | 849d495c54c5634ec6dfd1011406018b56f721fd (patch) | |
tree | 6e0f5c42bce418c0fbb142cc3e07e524fb52ff36 /tests/setup_lbu_test | |
parent | 923b7823970988a9cf67c4343591ef0409b8fe08 (diff) | |
download | alpine-conf-849d495c54c5634ec6dfd1011406018b56f721fd.zip |
setup-lbu: improve test coverage
verify that LABEL= is added to fstab
Diffstat (limited to 'tests/setup_lbu_test')
-rwxr-xr-x | tests/setup_lbu_test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/setup_lbu_test b/tests/setup_lbu_test index 3407f90..018dcad 100755 --- a/tests/setup_lbu_test +++ b/tests/setup_lbu_test @@ -17,5 +17,9 @@ setup_lbu_label_body() { setup-lbu LABEL=APKOVL grep -q 'LBU_MEDIA=LABEL=APKOVL' etc/lbu/lbu.conf || atf_fail "LBU_MEDIA not set in etc/lbu/lbu.conf" test -d media/LABEL=APKOVL || atf_fail "directory /media/LABEL=APKOVL was not created" + + atf_check -s exit:0 \ + -o match:"LABEL=APKOVL.*ro" \ + cat etc/fstab } |