Browse Source

[2641] Fix test env variable (fix distcheck)

Mukund Sivaraman 12 years ago
parent
commit
7c623395e4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/cmdctl/tests/b10-certgen_test.py

+ 2 - 2
src/bin/cmdctl/tests/b10-certgen_test.py

@@ -172,8 +172,8 @@ class TestCertGenTool(unittest.TestCase):
         """
         Tests a few pre-created certificates with the -c option
         """
-        if ('CMDCTL_SRC_PATH' in os.environ):
-            path = os.environ['CMDCTL_SRC_PATH'] + "/tests/testdata/"
+        if ('CMDCTL_TESTDATA_PATH' in os.environ):
+            path = os.environ['CMDCTL_TESTDATA_PATH'] + "/tests/testdata/"
         else:
             path = "testdata/"
         self.validate_certificate(10, path + 'expired-certfile.pem')