[med-svn] [Git][med-team/nutsqlite][master] 4 commits: d/t/run-unit-test: update to newer `file` output.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sat Sep 2 17:40:51 BST 2023



Étienne Mollier pushed to branch master at Debian Med / nutsqlite


Commits:
d19dc582 by Étienne Mollier at 2023-09-02T18:31:31+02:00
d/t/run-unit-test: update to newer `file` output.

To ease the transition from file 5.44 to 5.45, the test suite is
updated to recognize both outputs.

Closes: #1051083
Thanks: Christoph Biedl

- - - - -
9b906dcf by Étienne Mollier at 2023-09-02T18:32:44+02:00
d/control: declare compliance to standards version 4.6.2.

- - - - -
d18645f9 by Étienne Mollier at 2023-09-02T18:38:40+02:00
d/watch: update to version 4.

- - - - -
84674a81 by Étienne Mollier at 2023-09-02T18:40:23+02:00
ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/tests/run-unit-test
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,14 @@
-nutsqlite (2.0.6-4) UNRELEASED; urgency=medium
+nutsqlite (2.0.6-4) unstable; urgency=medium
 
   * d/control: update uploader address
-
- -- Étienne Mollier <emollier at debian.org>  Sat, 10 Jul 2021 17:42:37 +0200
+  * d/t/run-unit-test: update to newer `file` output.
+    To ease the transition from file 5.44 to 5.45, the test suite is
+    updated to recognize both outputs.
+    Thanks to Christoph Biedl (Closes: #1051083)
+  * d/control: declare compliance to standards version 4.6.2.
+  * d/watch: update to version 4.
+
+ -- Étienne Mollier <emollier at debian.org>  Sat, 02 Sep 2023 18:39:07 +0200
 
 nutsqlite (2.0.6-3) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-exec
-Standards-Version: 4.5.0
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/nutsqlite
 Vcs-Git: https://salsa.debian.org/med-team/nutsqlite.git
 Homepage: http://nut.sourceforge.net/


=====================================
debian/tests/run-unit-test
=====================================
@@ -27,7 +27,11 @@ set -e
 test "$STATUS" = 1
 # Checking update-nut artifacts
 test "$(file nut.db     | awk '{print $2, $3, $4}')" = 'SQLite 3.x database,'
-test "$(file nut.db-shm | awk '{print $2        }')" = 'data'
+# Handle transition to file 5.45, where sqlite shm is recognized as such;
+# see #1051083.
+readonly NUT_SHM_FILE="$(file nut.db-shm | awk '{print $2, $3, $4, $5, $6}')"
+test "$NUT_SHM_FILE" = 'SQLite Write-Ahead Log shared memory,' \
+|| test "$NUT_SHM_FILE" = 'data    '
 test "$(file nut.db-wal | awk '{print $2, $3, $4}')" = 'SQLite Write-Ahead Log,'
 
 ###############################################################################


=====================================
debian/watch
=====================================
@@ -1,2 +1,2 @@
-version=3
+version=4
 http://sf.net/nut/NUTsqlite-(\d[\d\.]+)\.(?:tgz|tbz|txz|zip|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/med-team/nutsqlite/-/compare/d38aad2006c9b00df21df02ee20317022ee1f2a1...84674a81a7691997825f0650db7a565537b4c6ba

-- 
View it on GitLab: https://salsa.debian.org/med-team/nutsqlite/-/compare/d38aad2006c9b00df21df02ee20317022ee1f2a1...84674a81a7691997825f0650db7a565537b4c6ba
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230902/daf68281/attachment-0001.htm>


More information about the debian-med-commit mailing list