autotest: look for core.* in process_core

Match the default FreeBSD core file location as well as the Linux one.

Change-Id: I4c9803d314e89dc7982682c145a83e41dc9027e4
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-03-21 11:22:11 -07:00
parent 6e2d7be8a1
commit 48ee3eba39

View File

@ -93,7 +93,7 @@ function timing_finish() {
function process_core() {
ret=0
for core in $(find . -type f -name 'core*'); do
for core in $(find . -type f \( -name 'core*' -o -name '*.core' \)); do
exe=$(eu-readelf -n "$core" | grep psargs | sed "s/.*psargs: \([^ \'\" ]*\).*/\1/")
echo "exe for $core is $exe"
if [[ ! -z "$exe" ]]; then