tests: Output list of devices when partmap fails

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Glenn Washburn 2021-09-17 23:04:03 +00:00 committed by Daniel Kiper
parent 50a2a03905
commit 5450c3fde4

View File

@ -43,7 +43,7 @@ check_output () {
for dsk in $@; do
if ! grep "($dsk)" "${outfile}" >/dev/null
then
echo "($dsk): disk/partiton not found"
echo "($dsk): disk/partiton not found in: $(cat "${outfile}")"
exit 1
fi
done