]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
gdbserver_tests filters remove python rpm module load warning
authorMark Wielaard <mark@klomp.org>
Mon, 24 Jun 2024 12:56:37 +0000 (14:56 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 24 Jun 2024 12:56:41 +0000 (14:56 +0200)
gdb on Fedora will warn not being able to load the rpm python module.
Unable to load 'rpm' module.  Please install the python3-rpm package.
Filter out that message so tests don't fail.

gdbserver_tests/filter_gdb.in
gdbserver_tests/filter_vgdb.in

index 0f964e223fdc5edfd1bd1218e792c0f566219d3d..6eecf40502aaead0070596f767322642f3e7a5a1 100755 (executable)
@@ -55,6 +55,9 @@ s/^\e\[?1034hReading symbols/Reading symbols/
 #       Remove some Suse package manager messages
 /^Try: zypper install -C/d
 
+#      Remove python rpm module load warning
+/^Unable to load 'rpm' module.  Please install the python3-rpm package./d
+
 #       Remove vgdb message
 /relaying data between gdb and process/d
 
index 139aea2bcc521cb4c89f75d18bb7dc42a7d4aa9d..71f1f702537eebed7cc9c8905e34661fcd67b077 100755 (executable)
@@ -47,5 +47,8 @@ $SED -e '/Use.*info auto-load python-scripts.*/d' |
 $SED -e '/warning: Invalid entry in .debug_gdb_scripts section/d' |
 $SED -e "/Use .info auto-load python .REGEXP.. to list them./d" |
 
+# Remove python rpm module load warning
+$SED -e "/^Unable to load 'rpm' module.  Please install the python3-rpm package./d" |
+
 # and filter out any remaining empty lines
 $SED -e '/^$/d'