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:
parent
50a2a03905
commit
5450c3fde4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user