src/tests/pkg5unittest.py
changeset 2433 7af4ccfa1c06
parent 2414 ce704b29a50c
child 2446 ba222bc0b1ce
--- a/src/tests/pkg5unittest.py	Mon Jun 27 19:30:46 2011 -0700
+++ b/src/tests/pkg5unittest.py	Tue Jun 28 10:23:07 2011 -0700
@@ -408,6 +408,12 @@
                 if getattr(self, "need_ro_data", False):
                         shutil.copytree(os.path.join(test_src, "ro_data"),
                             self.ro_data_root)
+                        self.path_to_certs = os.path.join(self.ro_data_root,
+                            "signing_certs", "produced")
+                        self.keys_dir = os.path.join(self.path_to_certs, "keys")
+                        self.cs_dir = os.path.join(self.path_to_certs,
+                            "code_signing_certs")
+
                 #
                 # TMPDIR affects the behavior of mkdtemp and mkstemp.
                 # Setting this here should ensure that tests will make temp