Skip to content

Commit a39fec7

Browse files
Charlie Johnstonevelikov
authored andcommitted
run_test.sh: Add filter for apport error on CI.
Signed-off-by: Charlie Johnston <[email protected]>
1 parent c3dcd9a commit a39fec7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run_test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ genericize_expected_output() {
143143
# OpenSSL non-critical errors while signing. Remove them to be more generic
144144
sed '/^At main.c:/d' -i ${output_log}
145145
sed '/^- SSL error:/d' -i ${output_log}
146+
# Apport related error that can occur in the CI. Drop from the output to be more generic
147+
sed "/^python3: can't open file '\/usr\/share\/apport\/package-hooks\/dkms_packages.py'\: \[Errno 2\] No such file or directory$/d" -i ${output_log}
146148
}
147149

148150
run_with_expected_output() {

0 commit comments

Comments
 (0)