Skip to content

Commit c44931f

Browse files
committed
verify-kernel-boot-log.sh: don't SKIP when i915 is missing
`grep something missing_file` returns 2. When the file is missing this is misinterpreted as SKIP as seen in daily test run 20752. This happens because the grep is the last command in the subshell. The `grep /sys/kernel/debug/dri/0/i915_display_info` and the including subshell are not part of the test; ignore their exit code and let the rest of the test code decide what the exit value of the test is. Fixes commit aadd770 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent ce845a5 commit c44931f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test-case/verify-kernel-boot-log.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ wait_is_system_running()
6666
DISPLAY=:0 xrandr --listmonitors
6767
DISPLAY=:1024 xrandr --listmonitors
6868
sudo grep -i connected /sys/kernel/debug/dri/0/i915_display_info
69+
true
6970
)
7071
die "Some services are not running correctly"
7172
}

0 commit comments

Comments
 (0)