]> sourceware.org Git - systemtap.git/commitdiff
Fixed PR11719 by fixing cmd_parse.exp for ppc.
authorDavid Smith <dsmith@redhat.com>
Fri, 18 Jun 2010 20:13:17 +0000 (15:13 -0500)
committerDavid Smith <dsmith@redhat.com>
Fri, 18 Jun 2010 20:13:17 +0000 (15:13 -0500)
* 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

index ee52e1da667779a8b7d3fafd803e3564d84333f5..dfc528fd5f43a7765c137d886f7b09be4f37a4d5 100644 (file)
@@ -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.
This page took 0.029258 seconds and 5 git commands to generate.