* testsuite/lib/systemtap.exp (get_system_info): If we're running a
version of systemtap compiled with version X of elfutils, but running
with version Y of elfutils (where Y > X), the elfutils version gets
reported as 'Y/X'. Make sure to parse this correctly.
set full [exec gcc --version | head -1]
set GCC_FullVersion "$n \[$full\]"
# Parse elfutils version stap was compiled with
- regexp {version [^/]*/([^,]*)} [exec stap -V 2>@ stdout] all ELF_Version
+ regexp {version [^/]*/([^,/]*)} [exec stap -V 2>@ stdout] all ELF_Version
# selinux status
if [file exists /usr/sbin/getenforce] {
set SElinux [exec /usr/sbin/getenforce]