tests: Migrate Dovecot DBox tests (sdbox + mdbox) (#3051)

* tests: Migrate Dovecot DBox tests to new testing format
* tests: Group Dovecot related tests into subfolder
This commit is contained in:
Brennan Kinney 2023-02-02 15:30:16 +13:00 committed by GitHub
parent adb30178ae
commit ed6917ff22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 61 additions and 59 deletions

View file

@ -410,8 +410,9 @@ function _count_files_in_directory_in_container()
_run_in_container_bash "[[ -d ${DIRECTORY} ]]"
assert_success
_run_in_container_bash "find ${DIRECTORY} -maxdepth 1 -type f -printf 'x\n'"
_run_in_container_bash "find ${DIRECTORY} -maxdepth 1 -type f"
assert_success
_should_output_number_of_lines "${NUMBER_OF_LINES}"
}