summaryrefslogtreecommitdiffstats
path: root/src/test/testcases/testSbeDump.py
diff options
context:
space:
mode:
authorShakeeb <shakeebbk@in.ibm.com>2016-09-01 23:50:52 -0500
committerAMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>2016-09-14 07:06:23 -0400
commit5681b4d8dd3f1dd49d967a74434151b35f97f64d (patch)
tree98f77e0093c21e55069dd1ec0797d845f52598b5 /src/test/testcases/testSbeDump.py
parent55725bff75c15a0da730b4a6a81e64959bd82602 (diff)
downloadtalos-sbe-5681b4d8dd3f1dd49d967a74434151b35f97f64d.tar.gz
talos-sbe-5681b4d8dd3f1dd49d967a74434151b35f97f64d.zip
Changing FFDC package structure
Change-Id: I150b6e094660e8b639296ee313994c0bd41cf6ee RTC: 160155 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29236 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'src/test/testcases/testSbeDump.py')
-rw-r--r--src/test/testcases/testSbeDump.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/testcases/testSbeDump.py b/src/test/testcases/testSbeDump.py
index 184a70e8..3b273cdf 100644
--- a/src/test/testcases/testSbeDump.py
+++ b/src/test/testcases/testSbeDump.py
@@ -50,6 +50,12 @@ def main():
raise Exception('data mistmach')
packLen = ((data[2] << 8) | data[3])
print ("\nFFDC package length = " + str(packLen))
+ # extract Sequence ID, Command class and command
+ data = testUtil.readDsEntryReturnVal()
+ seqId = ((data[0] << 24) | (data[1] << 16))
+ cmdClass = data[2]
+ cmd = data[3]
+ print ("\n SeqId ["+str(seqId)+"] CmdClass ["+str(cmdClass)+"] Cmd ["+str(cmd)+"]")
data = testUtil.readDsEntryReturnVal()
fapiRc = ((data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3])
OpenPOWER on IntegriCloud