Commit 48ee3eba authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 6e2d7be8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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