summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/cast.exp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-04-29 14:00:21 -0700
committerJosh Stone <jistone@redhat.com>2009-04-29 14:00:21 -0700
commit0904184b479723cc514db320f7cb70b8c284ea1a (patch)
tree4a1e406d8fab63abec3cb4d6b48b06ecdf5f381f /testsuite/systemtap.base/cast.exp
parent999740348b95d993cbe36b9283c5cb7ee7bda149 (diff)
downloadsystemtap-steved-0904184b479723cc514db320f7cb70b8c284ea1a.tar.gz
systemtap-steved-0904184b479723cc514db320f7cb70b8c284ea1a.tar.xz
systemtap-steved-0904184b479723cc514db320f7cb70b8c284ea1a.zip
Use sockaddr instead of timeval in @cast test
Using timeval had problems on big-endian multi-arch platforms (ppc64), because the user tv_sec used in the @cast didn't match the kernel tv_sec used to provide a pointer. Hopefully reading from a sockaddr should be more robust, as that type doesn't appear to need any compat wrappers for multi-archs.
Diffstat (limited to 'testsuite/systemtap.base/cast.exp')
-rw-r--r--testsuite/systemtap.base/cast.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/cast.exp b/testsuite/systemtap.base/cast.exp
index 74c4d72a..374132f0 100644
--- a/testsuite/systemtap.base/cast.exp
+++ b/testsuite/systemtap.base/cast.exp
@@ -2,5 +2,5 @@ set test "cast"
set ::result_string {PID OK
PID2 OK
execname OK
-tv_sec OK}
+sa_data OK}
stap_run2 $srcdir/$subdir/$test.stp -g