- fixup io-test fsync expectations wrt SQLITE_DISABLE_DIRSYNC
This commit is contained in:
parent
9d202ae946
commit
83462ab867
13
sqlite-3.6.13-iotest-nodirsync.patch
Normal file
13
sqlite-3.6.13-iotest-nodirsync.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -up sqlite-3.6.13/test/io.test.nodirsync sqlite-3.6.13/test/io.test
|
||||||
|
--- sqlite-3.6.13/test/io.test.nodirsync 2009-05-14 12:12:21.000000000 +0300
|
||||||
|
+++ sqlite-3.6.13/test/io.test 2009-05-14 12:13:51.000000000 +0300
|
||||||
|
@@ -426,7 +426,8 @@ sqlite3_simulate_device -char safe_appen
|
||||||
|
# on the journal file between steps (2) and (3) above.
|
||||||
|
#
|
||||||
|
if {$::tcl_platform(platform)=="unix"} {
|
||||||
|
- set expected_sync_count 3
|
||||||
|
+ # normally 3 but with -DSQLITE_DISABLE_DIRSYNC its 2
|
||||||
|
+ set expected_sync_count 2
|
||||||
|
} else {
|
||||||
|
set expected_sync_count 2
|
||||||
|
}
|
@ -16,6 +16,8 @@ Patch1: sqlite-3.6.12-libdl.patch
|
|||||||
# Avoid insecure sprintf(), use a system path for lempar.c, patch from Debian
|
# Avoid insecure sprintf(), use a system path for lempar.c, patch from Debian
|
||||||
Patch2: sqlite-3.6.6.2-lemon-snprintf.patch
|
Patch2: sqlite-3.6.6.2-lemon-snprintf.patch
|
||||||
Patch3: sqlite-3.6.12-no-sqlite-doc.patch
|
Patch3: sqlite-3.6.12-no-sqlite-doc.patch
|
||||||
|
# Fixup io-test fsync expectations wrt SQLITE_DISABLE_DIRSYNC
|
||||||
|
Patch4: sqlite-3.6.13-iotest-nodirsync.patch
|
||||||
BuildRequires: ncurses-devel readline-devel glibc-devel
|
BuildRequires: ncurses-devel readline-devel glibc-devel
|
||||||
# libdl patch needs
|
# libdl patch needs
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
@ -78,6 +80,7 @@ This package contains the tcl modules for %{name}.
|
|||||||
%patch1 -p1 -b .libdl
|
%patch1 -p1 -b .libdl
|
||||||
%patch2 -p1 -b .lemon-sprintf
|
%patch2 -p1 -b .lemon-sprintf
|
||||||
%patch3 -p1 -b .no-sqlite-doc
|
%patch3 -p1 -b .no-sqlite-doc
|
||||||
|
%patch4 -p1 -b .nodirsync
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoconf
|
autoconf
|
||||||
@ -112,7 +115,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{la,a}
|
|||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
# let this fail for now:
|
# let this fail for now:
|
||||||
# - io-4.1 and io-4.2.3 fail everywhere
|
|
||||||
# - five nan-test broken on PPC (upstream ticket #3404)
|
# - five nan-test broken on PPC (upstream ticket #3404)
|
||||||
# - bunch of rtree-tests failing on PPC atm
|
# - bunch of rtree-tests failing on PPC atm
|
||||||
make test ||:
|
make test ||:
|
||||||
@ -159,6 +161,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- drop ancient sqlite3 obsoletes
|
- drop ancient sqlite3 obsoletes
|
||||||
- fix tab vs space whitespace issues
|
- fix tab vs space whitespace issues
|
||||||
- remove commas from summaries
|
- remove commas from summaries
|
||||||
|
- fixup io-test fsync expectations wrt SQLITE_DISABLE_DIRSYNC
|
||||||
|
|
||||||
* Wed Apr 15 2009 Panu Matilainen <pmatilai@redhat.com> - 3.6.13-1
|
* Wed Apr 15 2009 Panu Matilainen <pmatilai@redhat.com> - 3.6.13-1
|
||||||
- update to 3.6.13
|
- update to 3.6.13
|
||||||
|
Loading…
Reference in New Issue
Block a user