sfa_import only relies on sfaadmin
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 23 May 2012 10:16:02 +0000 (12:16 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 23 May 2012 10:16:02 +0000 (12:16 +0200)
sfa_standalone does invoke sfa-import to create the toplevel auth record

system/TestPlc.py
system/macros.py

index 6c9007d..dcc7dd3 100644 (file)
@@ -1376,9 +1376,8 @@ class TestPlc:
     def sfa_import(self):
         "sfa-import-plc"
         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')==0
+        return \
+            self.run_in_guest('sfaadmin.py reg import_registry')==0 
 # not needed anymore
 #        self.run_in_guest('cp /etc/sfa/authorities/%s/%s.pkey /etc/sfa/authorities/server.key'%(auth,auth))
 
index 6d4ceaa..b4a4815 100644 (file)
@@ -77,6 +77,7 @@ sequences['sfa_standalone'] = [
     'sfa_configure',
     'cross_sfa_configure',
     'sfa_start',
+    'sfa_import',
     'sfi_configure',
     'sfa_add_site',
     'sfa_add_pi',