Skip to content

Commit

Permalink
replace hyphen with low-line
Browse files Browse the repository at this point in the history
Signed-off-by: pengshanyu <[email protected]>
  • Loading branch information
pengshanyu committed Aug 8, 2024
1 parent 3f68c61 commit d0bb53d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This test execute `test -e /dev/mem` in QM partition, no other input.
podman exec qm test -e /dev/mem

Expected result:
out: [ INFO ] PASS: check_dev-mem_not_present: As expected, /dev/mem is not present in QM partition.
out: [ INFO ] PASS: check_dev_mem_not_present: As expected, /dev/mem is not present in QM partition.

Results location:
/plans/e2e/ffi/report/default-0/junit.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# FFI - dev-mem_not_present
# FFI - dev_mem_not_present

This test is intended to confirm that /dev/mem is not present in QM partition.

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
# shellcheck disable=SC1091
. ../../e2e/lib/utils

check_dev-mem_not_present(){
check_dev_mem_not_present(){
# Check /dev/mem is not present in QM partition
if podman exec qm test -e /dev/mem; then
info_message "Found /dev/mem in QM partition: $(podman exec -t qm ls -l /dev/mem)"
info_message "FAIL: check_dev-mem_not_present: Check for /dev/mem in QM partition failed, it should not present."
info_message "FAIL: check_dev_mem_not_present: Check for /dev/mem in QM partition failed, it should not be present."
exit 1
else
info_message "PASS: check_dev-mem_not_present: As expected, /dev/mem is not present in QM partition."
info_message "PASS: check_dev_mem_not_present: As expected, /dev/mem is not present in QM partition."
exit 0
fi
}

check_dev-mem_not_present
check_dev_mem_not_present

0 comments on commit d0bb53d

Please sign in to comment.