Skip to contentSkip to conversation

main - tests: hide some more file in error trace

PATCH Zdenek Kabelac 1 participant 1 message Apr 22, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=bbc67abeed8a7a5f4a31c6dd0d3bf4cb26c6a50a
Commit:        bbc67abeed8a7a5f4a31c6dd0d3bf4cb26c6a50a
Parent:        f239ce2353504f1a69fd7cc5386067cffd71b965
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Apr 22 11:23:04 2023 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sat Apr 22 11:25:39 2023 +0200

tests: hide some more file in error trace

Hide unneeded dev nodes.

---
 test/lib/utils.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
test/lib/utils.sh +2 -1
index ca9f5ec61..5e462605f 100644
@@ -190,7 +190,8 @@ STACKTRACE() {
 			dmsetup ls --tree | sed -e "s,^,## DMTREE:   ,"
 			echo "<======== Recursive list of $DM_DEV_DIR ========>"
 			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:	,"
 			echo "<======== Udev DB content ========>"
 			for i in /sys/block/dm-* /sys/block/loop* ; do