File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11cd nuclei-linux-sdk
2- timeout --foreground -s SIGTERM 5m make run_qemu > >( tee run_qemu.log)
2+ timeout --foreground -s SIGTERM 6m make run_qemu > >( tee run_qemu.log)
33
44# check pass or not
55if cat run_qemu.log | grep " Run /init" ; then
Original file line number Diff line number Diff line change @@ -118,10 +118,11 @@ jobs:
118118 cd work/$SOC
119119 # show qemu version
120120 bash show_qemu.sh
121+ cat run_qemu.sh
121122 # $(cat run_qemu.sh) is workaround for directly run bash run_qemu.sh
122123 # If do kill it will just kill bash process, the qemu process is not killed
123124 # SIGTERM is better for kill qemu
124- timeout --foreground -s SIGTERM 5m $(cat run_qemu.sh) > >(tee run_qemu.log) || {
125+ timeout --foreground -s SIGTERM 6m $(cat run_qemu.sh) > >(tee run_qemu.log) || {
125126 if cat run_qemu.log | grep "Run /init" ; then echo "Kernel boot successfully" ; else echo "Kernel boot failed" && exit 1; fi;
126127 if cat run_qemu.log | grep "Welcome to" ; then echo "Pass simulation" && exit 0; else echo "Failed init process" && exit 1; fi;
127128 }
You can’t perform that action at this time.
0 commit comments