tests: remove legacy functions / tests (#2434)

This commit is contained in:
Casper 2022-03-02 14:55:17 +01:00 committed by GitHub
parent 4203afec3f
commit 6d1c740310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 0 additions and 466 deletions

View file

@ -1,13 +1,5 @@
load 'test_helper/common'
function setup() {
run_setup_file_if_necessary
}
function teardown() {
run_teardown_file_if_necessary
}
function setup_file() {
local PRIVATE_CONFIG
PRIVATE_CONFIG="$(duplicate_config_for_container .)"
@ -26,10 +18,6 @@ function teardown_file() {
docker rm -f mail_fetchmail_parallel
}
@test "first" {
skip 'this test must come first to reliably identify when to run setup_file'
}
#
# processes
#
@ -91,7 +79,3 @@ function teardown_file() {
run docker exec mail_fetchmail_parallel /bin/bash -c "pkill fetchmail && sleep 10 && ps aux --forest | grep -v grep | grep '/usr/bin/fetchmail -f /etc/fetchmailrc.d/fetchmail-2.rc'"
assert_success
}
@test "last" {
skip 'this test is only there to reliably mark the end for the teardown_file'
}