Collect the last 30 lines from the cooker.log
whenever the timeout is exceeded.

Signed-off-by: Sakib Sajal <sakib.sa...@windriver.com>
---
 scripts/oe-time-dd-test.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/oe-time-dd-test.sh b/scripts/oe-time-dd-test.sh
index 459071e732..46b218b76a 100755
--- a/scripts/oe-time-dd-test.sh
+++ b/scripts/oe-time-dd-test.sh
@@ -25,4 +25,5 @@ timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat 
bs=1024 count=$1 conv=
 if [ $? -ne 0 ]; then
        echo "Timeout used: ${TIMEOUT}"
        top -c -b -n1 -w 512
+       tail -30 tmp*/log/cooker/*/console-latest.log
 fi
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151018): 
https://lists.openembedded.org/g/openembedded-core/message/151018
Mute This Topic: https://lists.openembedded.org/mt/82387582/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to