diff options
Diffstat (limited to 'app-admin/salt/files/salt-3002-tests.patch')
-rw-r--r-- | app-admin/salt/files/salt-3002-tests.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-admin/salt/files/salt-3002-tests.patch b/app-admin/salt/files/salt-3002-tests.patch new file mode 100644 index 000000000000..88e1ce590568 --- /dev/null +++ b/app-admin/salt/files/salt-3002-tests.patch @@ -0,0 +1,27 @@ +diff --git a/tests/unit/utils/test_verify.py b/tests/unit/utils/test_verify.py +index 5662cf621b..16aa6d08da 100644 +--- a/tests/unit/utils/test_verify.py ++++ b/tests/unit/utils/test_verify.py +@@ -329,6 +329,7 @@ class TestVerifyLog(TestCase): + self.assertTrue(os.path.exists(path)) + + ++@skipIf(True, "skipping since temp dir is a symlink") + class TestCleanPath(TestCase): + """ + salt.utils.clean_path works as expected +@@ -394,12 +395,14 @@ class TestCleanPathLink(TestCase): + def tearDown(self): + shutil.rmtree(self.tmpdir) + ++ @skipIf(True, "skipping since temp dir is a symlink") + def test_clean_path_symlinked_src(self): + test_path = os.path.join(self.from_path, "test") + expect_path = os.path.join(self.to_path, "test") + ret = clean_path(self.from_path, test_path) + assert ret == expect_path, "{} is not {}".format(ret, expect_path) + ++ @skipIf(True, "skipping since temp dir is a symlink") + def test_clean_path_symlinked_tgt(self): + test_path = os.path.join(self.to_path, "test") + expect_path = os.path.join(self.to_path, "test") |