diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 10:33:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 10:33:11 +0000 |
commit | ae3ecffbd2e40760fef5dc09db30ea8a81abec70 (patch) | |
tree | f3b77bfda1bae06d3326ef27c3cb61539e7f93cc /test/TEST-98-GETARG | |
parent | Adding debian version 102-3. (diff) | |
download | dracut-ae3ecffbd2e40760fef5dc09db30ea8a81abec70.tar.xz dracut-ae3ecffbd2e40760fef5dc09db30ea8a81abec70.zip |
Merging upstream version 103.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/TEST-98-GETARG')
-rwxr-xr-x | test/TEST-98-GETARG/test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/TEST-98-GETARG/test.sh b/test/TEST-98-GETARG/test.sh index 8f628a2..e7337d9 100755 --- a/test/TEST-98-GETARG/test.sh +++ b/test/TEST-98-GETARG/test.sh @@ -91,14 +91,17 @@ test_run() { . dracut-dev-lib.sh . dracut-lib.sh + # shellcheck disable=SC2317 # overwrites debug_off from dracut-lib.sh debug_off() { : } + # shellcheck disable=SC2317 # overwrites debug_on from dracut-lib.sh debug_on() { : } + # shellcheck disable=SC2317 # called later by getarg in dracut-lib.sh getcmdline() { echo "rdbreak=cmdline rd.lvm rd.auto=0 rd.auto rd.retry=10" } @@ -108,6 +111,7 @@ test_run() { getargbool 1 rd.lvm -d -n rd_NO_LVM || ret=$((ret + 1)) getargbool 0 rd.auto || ret=$((ret + 1)) + # shellcheck disable=SC2317 # called later by getarg in dracut-lib.sh getcmdline() { echo "rd.break=cmdlined rd.lvm=0 rd.auto rd.auto=1 rd.auto=0" } @@ -115,6 +119,7 @@ test_run() { getargbool 1 rd.lvm -d -n rd_NO_LVM && ret=$((ret + 1)) getargbool 0 rd.auto && ret=$((ret + 1)) + # shellcheck disable=SC2317 # called later by getarg in dracut-lib.sh getcmdline() { echo "ip=a ip=b ip=dhcp6" } @@ -126,6 +131,7 @@ test_run() { [[ ${args[$i]} == "${RESULT[$i]}" ]] || ret=$((ret + 1)) done + # shellcheck disable=SC2317 # called later by getarg in dracut-lib.sh getcmdline() { echo "bridge bridge=val" } @@ -136,6 +142,7 @@ test_run() { [[ ${args[$i]} == "${RESULT[$i]}" ]] || ret=$((ret + 1)) done + # shellcheck disable=SC2317 # called later by getarg in dracut-lib.sh getcmdline() { echo "rd.break rd.md.uuid=bf96e457:230c9ad4:1f3e59d6:745cf942 rd.md.uuid=bf96e457:230c9ad4:1f3e59d6:745cf943 rd.shell" } |