From b01201fcb6e008e7ef3bc7af46b90dc3b8470246 Mon Sep 17 00:00:00 2001 From: polarathene <5098581+polarathene@users.noreply.github.com> Date: Sat, 6 Jan 2024 13:54:15 +1300 Subject: [PATCH] fix: Sync to testing changes from master branch --- test/{test-files => files}/auth/imap-oauth2-auth.txt | 0 test/tests/serial/mail_with_oauth2.bats | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename test/{test-files => files}/auth/imap-oauth2-auth.txt (100%) diff --git a/test/test-files/auth/imap-oauth2-auth.txt b/test/files/auth/imap-oauth2-auth.txt similarity index 100% rename from test/test-files/auth/imap-oauth2-auth.txt rename to test/files/auth/imap-oauth2-auth.txt diff --git a/test/tests/serial/mail_with_oauth2.bats b/test/tests/serial/mail_with_oauth2.bats index ba3bf261..ff01fea7 100644 --- a/test/tests/serial/mail_with_oauth2.bats +++ b/test/tests/serial/mail_with_oauth2.bats @@ -61,6 +61,6 @@ function teardown_file() { # An initial connection needs to be made first, otherwise the auth attempt fails _run_in_container_bash 'nc -vz 0.0.0.0 143' - _run_in_container_bash 'nc -w 1 0.0.0.0 143 < /tmp/docker-mailserver-test/auth/imap-oauth2-auth.txt' + _nc_wrapper 'auth/imap-oauth2-auth' '-w 1 0.0.0.0 143' assert_output --partial 'Examine completed' }