fix: latest debian has the right bats

This commit is contained in:
2025-09-29 09:18:53 +02:00
parent 1c62eb78e1
commit 59a6f5212b

View File

@ -127,16 +127,7 @@ Then, before running tests, set `export BATS_LIB_PATH=~/.local/share/bats/`
##### Debian
```
apt install bats-file bats-assert bats-support jq make git
```
Unfortunately, the latest `bats` version in Debian stable does not have the "filter tests by tags" feature, which is very handy for running a subset of the tests. For this, we need to install `bats` from source. It's easy.
```
apt purge -y bats
git clone https://github.com/bats-core/bats-core.git
cd bats-core
sudo ./install.sh /usr/local
apt install bats bats-file bats-assert bats-support jq make git
```
#### Setup Test Server