test/check_so_deps.sh: fix output parsing.
The previous revision to output parsing could
cause issues when more than one set of parenthesis
was included in the output.
fixes: 8661ded761
Signed-off-by: Seth Howell <seth.howell@intel.com>
Change-Id: I1cbfac1186fb5ee97518f4b687f38af59c0dcfb9
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3092
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Community-CI: Mellanox Build Bot
This commit is contained in:
parent
27f435bc1d
commit
03b8afa669
@ -289,7 +289,7 @@ EOF
|
||||
|
||||
if ! output=$(abidiff "$source_abi_dir/$so_file" "$libdir/$so_file" --leaf-changes-only --suppressions $suppression_file --stat); then
|
||||
# remove any filtered out variables.
|
||||
output=${output// [()][^)]*[)]/}
|
||||
output=$(sed "s/ [()][^)]*[)]//g" <<< "$output")
|
||||
|
||||
IFS="." read -r _ _ new_so_maj new_so_min < <(readlink "$libdir/$so_file")
|
||||
IFS="." read -r _ _ old_so_maj old_so_min < <(readlink "$source_abi_dir/$so_file")
|
||||
|
Loading…
Reference in New Issue
Block a user