Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from buildroot:master #370

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package/postgresql/postgresql.hash
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion package/postgresql/postgresql.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions support/testing/tests/package/test_mosquitto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down