diff --git a/test/common/autotest_common.sh b/test/common/autotest_common.sh index c9b92692b..b0bc56d4e 100755 --- a/test/common/autotest_common.sh +++ b/test/common/autotest_common.sh @@ -595,7 +595,7 @@ function process_core() { mv $core $output_dir chmod a+r $output_dir/$core ret=1 - done < <(find . -type f \( -name 'core\.?[0-9]*' -o -name '*.core' \) -print0) + done < <(find . -type f \( -name 'core.[0-9]*' -o name 'core' -o -name '*.core' \) -print0) return $ret }