must check that sfaadmin registry import_registry returns 0
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 19 Mar 2012 00:40:19 +0000 (20:40 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 19 Mar 2012 00:40:19 +0000 (20:40 -0400)
system/TestPlc.py

index b2d423c..98705ac 100644 (file)
@@ -1292,7 +1292,7 @@ class TestPlc:
         auth=self.plc_spec['sfa']['SFA_REGISTRY_ROOT_AUTH']
         return self.run_in_guest('sfa-import.py')==0 or \
                self.run_in_guest('sfa-import-plc.py')==0 or \
         auth=self.plc_spec['sfa']['SFA_REGISTRY_ROOT_AUTH']
         return self.run_in_guest('sfa-import.py')==0 or \
                self.run_in_guest('sfa-import-plc.py')==0 or \
-               self.run_in_guest('sfaadmin.py registry import_registry')
+               self.run_in_guest('sfaadmin.py registry import_registry')==0
 # not needed anymore
 #        self.run_in_guest('cp /etc/sfa/authorities/%s/%s.pkey /etc/sfa/authorities/server.key'%(auth,auth))
 
 # not needed anymore
 #        self.run_in_guest('cp /etc/sfa/authorities/%s/%s.pkey /etc/sfa/authorities/server.key'%(auth,auth))