From 60919a9141cadd958d21321462f29ccc073440fe Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Wed, 9 Dec 2015 17:16:38 -0800 Subject: [PATCH] [test suite] make ASan error detection more generic to catch things like LeakSanitizer errors --- test/test-fwknop.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-fwknop.pl b/test/test-fwknop.pl index 22293d1e..7d1b9a99 100755 --- a/test/test-fwknop.pl +++ b/test/test-fwknop.pl @@ -1454,8 +1454,8 @@ sub asan_verification() { if ($rv) { &run_cmd('./a.out', "../$cmd_out_tmp", "../$curr_test_file"); - unless (&file_find_regex([qr/ERROR\:\sAddressSanitizer/, - qr/SUMMARY\:\sAddressSanitizer/], + unless (&file_find_regex([qr/ERROR\:\s\w+Sanitizer/, + qr/SUMMARY\:\s\w+Sanitizer/], $MATCH_ALL, $NO_APPEND_RESULTS, "../$curr_test_file")) { $rv = 0; }