Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37801986
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libldb

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: ldb-skip-test_guid_indexed_v1_db-on-mips64el-ppc64le-mipsel.patch
Скачать


From e2d88d65f077f6ed26a79b6e31b46445bb081df9 Mon Sep 17 00:00:00 2001
From: Mathieu Parent <math.parent@gmail.com>
Date: Wed, 2 Oct 2019 21:26:07 +0200
Subject: [PATCH] Skip test_guid_indexed_v1_db on mips64el, ppc64el, ia64,
 ppc64
Workaround for https://bugzilla.samba.org/show_bug.cgi?id=14146
---
 tests/python/repack.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/python/repack.py b/tests/python/repack.py
index 0844cd2..607ab52 100644
--- a/tests/python/repack.py
+++ b/tests/python/repack.py
@@ -1,5 +1,5 @@
 import os
-from unittest import TestCase
+from unittest import TestCase, skipIf
 import shutil
 from subprocess import check_output
 import ldb
@@ -176,6 +176,8 @@ class GUIDIndexAndPackFormatTests(TestCase):
 
     # Check a database with V1 format with GUID indexing enabled is repacked
     # with version 2 format.
+    @skipIf(os.environ.get('RPM_TARGET_ARCH', 'unknown') in ['mips64el', 'ppc64le', 'mipsel'],
+            "Premade v1 unreadable on arch %s" % os.environ.get('RPM_TARGET_ARCH', 'unknown'))
     def test_guid_indexed_v1_db(self):
         self.setup_premade_v1_db()
 
-- 
2.20.1
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin