From 0b04e110741385640a1b70b0f8c2b40e693855c9 Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 18 Jun 2010 15:13:17 -0500 Subject: [PATCH] Fixed PR11719 by fixing cmd_parse.exp for ppc. * testsuite/systemtap.base/cmd_parse.exp: Mapped 'ppc64' to 'powerpc' (and similar changes form s390x and i686) because that is the internal kernel architecture. --- testsuite/systemtap.base/cmd_parse.exp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testsuite/systemtap.base/cmd_parse.exp b/testsuite/systemtap.base/cmd_parse.exp index ee52e1da6..dfc528fd5 100644 --- a/testsuite/systemtap.base/cmd_parse.exp +++ b/testsuite/systemtap.base/cmd_parse.exp @@ -148,6 +148,11 @@ expect { wait;catch {close} set uname [exec uname -i] +# normalize arch +if {$arch == "ppc64"} then {set arch powerpc} +if {$arch == "s390x"} then {set arch s390} +if {$arch == "i686"} then {set arch i386} + spawn sh -c "stap -m do_not_cache_me -a $uname -p4 -e 'probe begin {exit()}'" # the \r below is meant to match the "kernelrelease" output, as distinct from # any possible auxiliary make verbosity. -- 2.43.5