[bluez/bluez] 216b17: shared/tester: add ability to shutdown tester IO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/973896
  Home:   https://github.com/bluez/bluez
  Commit: 216b1725387562468a071da7f676dc5bd68823b1
      https://github.com/bluez/bluez/commit/216b1725387562468a071da7f676dc5bd68823b1
  Author: Kirill Samburskiy <k.samburskiy@xxxxxx>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M src/shared/tester.c
    M src/shared/tester.h

  Log Message:
  -----------
  shared/tester: add ability to shutdown tester IO

Some tests may require the ability to shutdown IO for proper teardown.
Add function tester_shutdown_io to accomplish that.


  Commit: 4f4f7dd583ba843392ccb7451e1e2ee3eb4d4c59
      https://github.com/bluez/bluez/commit/4f4f7dd583ba843392ccb7451e1e2ee3eb4d4c59
  Author: Kirill Samburskiy <k.samburskiy@xxxxxx>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M unit/test-vcp.c

  Log Message:
  -----------
  test-vcp: free server-side bt_vcp on test teardown

Shutdown tester IO before freeing bt_att instance to trigger its IO
disconnection callbacks. This detaches bt_vcp instance created by
vcp_get_session function, and executes detach callback registered
through bt_vcp_register that frees memory used by this bt_vcp instance.
This prevents the test from failing in some environments.


Compare: https://github.com/bluez/bluez/compare/216b17253875%5E...4f4f7dd583ba

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux