mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
mdadm: save ptest logs
Run test script with --save-logs and --logdir parameters, so the log files can be retrieved in case of failure. (From OE-Core rev: 32fe21e420b1c2a4e7ef9d7c768a22c9a7caa115) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8cd7786bca
commit
b06d0238c7
@@ -1,7 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
mkdir -p /mdadm-testing-dir
|
logdir=$PWD/logs
|
||||||
# make the test continue to execute even one fail
|
targetdir=/mdadm-testing-dir
|
||||||
dir=. ./test --keep-going --disable-integrity --skip-broken
|
|
||||||
|
|
||||||
rm -rf /mdadm-testing-dir/*
|
rm -rf $targetdir $logdir
|
||||||
|
mkdir -p $targetdir $logdir
|
||||||
|
|
||||||
|
# make the test continue to execute even one fail
|
||||||
|
./test --keep-going --disable-integrity --skip-broken --save-logs --logdir=$logdir
|
||||||
|
|||||||
Reference in New Issue
Block a user