tests(chore): Use REPOSITORY_ROOT export var from Makefile

Allows for using `load` with an absolute path instead of a relative one, which makes it possible to group tests into different directories.

Parallel tests differ slightly, loading the newer `helper/common.bash` and `helper/setup.bash` files instead of the older `test_helper/common.bash` which serial tests continue to use.
This commit is contained in:
Brennan Kinney 2022-11-26 11:37:58 +13:00
parent 2cd534a1ab
commit 835056d707
43 changed files with 50 additions and 49 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
load 'test_helper/bats-support/load'
load 'test_helper/bats-assert/load'
load "${REPOSITORY_ROOT}/test/test_helper/bats-support/load"
load "${REPOSITORY_ROOT}/test/test_helper/bats-assert/load"
NAME=${NAME:-mailserver-testing:ci}