summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSakib Sajal <sakib.sajal@windriver.com>2021-04-26 15:51:59 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-27 15:11:47 +0100
commitf8b2e0f60089c563292a08cc140c8bfe0ff0b7cb (patch)
tree96b04329bb801071ef9303279068d5ccd897498e /scripts
parent6db9f63412d5655b3c1ee24f90f61bd5cb3734e2 (diff)
downloadpoky-f8b2e0f60089c563292a08cc140c8bfe0ff0b7cb.tar.gz
oe-time-dd-test.sh: collect cooker log when timeout is exceeded
Collect the last 30 lines from the cooker.log whenever the timeout is exceeded. (From OE-Core rev: 58f7cd4d6186525f08f3027975530d647cbfa26b) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-time-dd-test.sh1
1 files changed, 1 insertions, 0 deletions
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=
25if [ $? -ne 0 ]; then 25if [ $? -ne 0 ]; then
26 echo "Timeout used: ${TIMEOUT}" 26 echo "Timeout used: ${TIMEOUT}"
27 top -c -b -n1 -w 512 27 top -c -b -n1 -w 512
28 tail -30 tmp*/log/cooker/*/console-latest.log
28fi 29fi