1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: hide some more file in error trace

Hide unneeded dev nodes.
This commit is contained in:
Zdenek Kabelac 2023-04-22 11:23:04 +02:00
parent f239ce2353
commit bbc67abeed

View File

@ -190,7 +190,8 @@ STACKTRACE() {
dmsetup ls --tree | sed -e "s,^,## DMTREE: ," dmsetup ls --tree | sed -e "s,^,## DMTREE: ,"
echo "<======== Recursive list of $DM_DEV_DIR ========>" echo "<======== Recursive list of $DM_DEV_DIR ========>"
ls -Rl --hide=shm --hide=bus --hide=snd --hide=input --hide=dri \ ls -Rl --hide=shm --hide=bus --hide=snd --hide=input --hide=dri \
--hide=net --hide=hugepages --hide=mqueue --hide=pts \ --hide=net --hide=hugepages --hide=mqueue --hide=pts \
--hide=tty?* --hide=vcs?* --hide=usb --hide=char \
"$DM_DEV_DIR" | sed -e "s,^,## LSLR: ," "$DM_DEV_DIR" | sed -e "s,^,## LSLR: ,"
echo "<======== Udev DB content ========>" echo "<======== Udev DB content ========>"
for i in /sys/block/dm-* /sys/block/loop* ; do for i in /sys/block/dm-* /sys/block/loop* ; do