]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-time-dd-test.sh: improve output formatting
authorSakib Sajal <sakib.sajal@windriver.com>
Mon, 14 Jun 2021 16:27:27 +0000 (12:27 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Jun 2021 23:02:49 +0000 (00:02 +0100)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-time-dd-test.sh

index 46b218b76abec21a5c2ae7c7a7880626d147394d..103eee5f650cce5d56a4780dd881d865245fd63d 100755 (executable)
@@ -24,6 +24,9 @@ uptime
 timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync
 if [ $? -ne 0 ]; then
        echo "Timeout used: ${TIMEOUT}"
+       echo "start: top output"
        top -c -b -n1 -w 512
+       echo "end: top output\n\nstart: cooker log"
        tail -30 tmp*/log/cooker/*/console-latest.log
+       echo "end: cooker log"
 fi