diff options
author | Sakib Sajal <sakib.sajal@windriver.com> | 2021-04-26 15:51:59 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-27 15:11:43 +0100 |
commit | 58f7cd4d6186525f08f3027975530d647cbfa26b (patch) | |
tree | c9f437eb15970409aac87d825bbad71b957901d9 /scripts/oe-time-dd-test.sh | |
parent | 3751ac58720a500e3b749b2296922d7c82db49a1 (diff) | |
download | openembedded-core-contrib-58f7cd4d6186525f08f3027975530d647cbfa26b.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.
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-time-dd-test.sh')
-rwxr-xr-x | scripts/oe-time-dd-test.sh | 1 |
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= if [ $? -ne 0 ]; then echo "Timeout used: ${TIMEOUT}" top -c -b -n1 -w 512 + tail -30 tmp*/log/cooker/*/console-latest.log fi |