Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37405603
en ru br
ALT Linux repositórios
S:3.93.0-alt1
5.0: 3.12.3-alt1.20081117
4.1: 3.12.1-alt0.20080628.M41.2
4.0: 3.11.4-alt1

Group :: Sistema/Bibliotecas
RPM: nss

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0001-Disable-test-dbtest-r-w-in-a-readonly-directory.patch
Download


From a34c67ab34e4dc988b3640128296e54fe9ef0469 Mon Sep 17 00:00:00 2001
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Date: Sat, 17 Jul 2021 21:02:49 +0300
Subject: Disable test: dbtest r/w in a readonly directory
Looks like this test is failing due to regression in sqlite
version-3.33.0-101-g1ca037f41 commit.
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1714874
---
 tests/dbtests/dbtests.sh | 11 -----------
 1 file changed, 11 deletions(-)
diff --git a/tests/dbtests/dbtests.sh b/tests/dbtests/dbtests.sh
index b0b195d4..2ab69d95 100755
--- a/tests/dbtests/dbtests.sh
+++ b/tests/dbtests/dbtests.sh
@@ -173,17 +173,6 @@ dbtest_main()
 
     # skipping the next two tests when user is root,
     # otherwise they would fail due to rooty powers
-    if [ $UID -ne 0 ]; then
-      ${BINDIR}/dbtest -d $RONLY_DIR
-    ret=$?
-    if [ $ret -ne 46 ]; then
-      html_failed "Dbtest r/w succeeded in a readonly directory $ret"
-    else
-      html_passed "Dbtest r/w didn't work in an readonly dir $ret"
-    fi
-    else
-      html_passed "Skipping Dbtest r/w in a readonly dir because user is root"
-    fi
     if [ $UID -ne 0 ]; then
       ${BINDIR}/certutil -D -n "TestUser" -d .
     ret=$?
-- 
2.25.4
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009