[dovecot/core] 796bee: lib: test-path-util unit test - small fixes and cl...

GitHub noreply at github.com
Sun Jun 4 20:00:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 796beea86bcdc92e4ba2f4865414a951b1717e5c
      https://github.com/dovecot/core/commit/796beea86bcdc92e4ba2f4865414a951b1717e5c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-06-04 (Sun, 04 Jun 2017)

  Changed paths:
    M src/lib/test-path-util.c

  Log Message:
  -----------
  lib: test-path-util unit test - small fixes and cleanups

Don't use /tmp, especially because on OSX it's a symlink to /private/tmp/,
which causes these tests to fail.


  Commit: be97d7e54ef50ac49f3fd4ca27f0b8660e239036
      https://github.com/dovecot/core/commit/be97d7e54ef50ac49f3fd4ca27f0b8660e239036
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-06-04 (Sun, 04 Jun 2017)

  Changed paths:
    M src/lib-imap-client/test-imapc-client.c

  Log Message:
  -----------
  lib-imap-client: Fix test-imapc-client unit test to work on OSX

connect() to port 0 fails in it, so for the "connect failure" test first
open a random free listener port and then close it. Hopefully nothing else
reopens it in the mean time.


Compare: https://github.com/dovecot/core/compare/5c8dec7f648c...be97d7e54ef5


More information about the dovecot-cvs mailing list