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:
parent
6e2d7be8a1
commit
48ee3eba39
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user