From f5fba6111b3048ad9fc1a8cd036d71d8eb6ed075 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Mon, 29 Jun 2009 13:13:23 +0000
Subject: [PATCH] Bug #1230: Read HBA client version register to verify I2C
 access.

---
 StationTest/station_production.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/StationTest/station_production.py b/StationTest/station_production.py
index 18cdd8c3f95..b44a9aa2cc7 100644
--- a/StationTest/station_production.py
+++ b/StationTest/station_production.py
@@ -130,8 +130,8 @@ else:
   sr.appendLog(11,res,1,1,1)
   sr.appendLog(11,'Result:')
   sr.appendFile(11,'tbb_memory.log')
-  #sr.appendLog(11,'Expected:')
-  #sr.appendFile(11,'gold/tbb_memory.gold')
+  sr.appendLog(11,'Expected:')
+  sr.appendFile(11,'gold/tbb_memory.gold')
   sr.setResult('FAILED')
    
 ################################################################################
@@ -187,15 +187,15 @@ sr.setId('RCU-HBA modem - ')
 sr.appendLog(21,'')
 sr.appendLog(21,'### Verify the control modem on the RCU')
 sr.appendLog(21,'')
-res = cli.command('python verify.py --brd %s --fpga blp0,blp1,blp2,blp3 --rep 1 -v 11 --te tc/hba_client.py --client_acces w --client_reg led --data 01' %(RspBrd,)) 
+res = cli.command('python verify.py --brd %s --fpga blp0,blp1,blp2,blp3 --rep 1 -v 11 --te tc/hba_client.py --client_access r --client_reg version --data 10' %(RspBrd,)) 
 if res.find('wrong')==-1:
   sr.appendLog(11,'>>> RCU-HBA modem test went OK')
-  sr.appendFile(21,'tc/modem.log')
+  sr.appendFile(21,'tc/hba_client.log')
 else:
   sr.appendLog(11,'>>> RCU-HBA modem went wrong')
   sr.appendLog(11,'CLI:')
   sr.appendLog(11,res,1,1,1)
-  sr.appendFile(11,'tc/modem.log')
+  sr.appendFile(11,'tc/hba_client.log')
   sr.setResult('FAILED')
 
 ################################################################################
-- 
GitLab