diff --git a/package/postgresql/postgresql.hash b/package/postgresql/postgresql.hash index 6a15f78628fb..88730dc353c7 100644 --- a/package/postgresql/postgresql.hash +++ b/package/postgresql/postgresql.hash @@ -1,4 +1,4 @@ -# From https://ftp.postgresql.org/pub/source/v16.5/postgresql-16.5.tar.bz2.sha256 -sha256 a6cbbb7037f98cb8afa7d3970b7c48040cf02b115e39253a0c037a8bb8e778f0 postgresql-16.5.tar.bz2 +# From https://ftp.postgresql.org/pub/source/v16.6/postgresql-16.6.tar.bz2.sha256 +sha256 23369cdaccd45270ac5dcc30fa9da205d5be33fa505e1f17a0418d2caeca477b postgresql-16.6.tar.bz2 # License file, Locally calculated sha256 9bf20ee493926a7e17a74bc7f05089fbc014269667b1540bc35a6b194a40c9de COPYRIGHT diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index 12693e625c2c..4656eba3d8c5 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -4,7 +4,7 @@ # ################################################################################ -POSTGRESQL_VERSION = 16.5 +POSTGRESQL_VERSION = 16.6 POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2 POSTGRESQL_SITE = https://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION) POSTGRESQL_LICENSE = PostgreSQL diff --git a/support/testing/tests/package/test_mosquitto.py b/support/testing/tests/package/test_mosquitto.py index ba10b30b00b5..6b256e5e27f0 100644 --- a/support/testing/tests/package/test_mosquitto.py +++ b/support/testing/tests/package/test_mosquitto.py @@ -25,13 +25,19 @@ def test_run(self): msg = "Hello Buildroot!" # We subscribe to a topic and write one message to a log file. - self.assertRunOk(f"mosquitto_sub -t {topic} -C 1 > {log} &") + cmd = f"( mosquitto_sub -t {topic} -C 1 > {log} 2> /dev/null & )" + self.assertRunOk(cmd) - time.sleep(1) + # We give some time to the subscriber process to settle. + time.sleep(5) # We publish a message. self.assertRunOk(f"mosquitto_pub -t {topic} -m '{msg}'") + # We give some more time to the subscriber process to write + # the log and quit. + time.sleep(5) + # We check the log file contains our message. out, ret = self.emulator.run(f"cat {log}") self.assertEqual(ret, 0)