2024-09-26 00:22:16 +02:00
|
|
|
#!/bin/sh -ex
|
|
|
|
|
|
|
|
wd='/work'
|
|
|
|
podman run \
|
|
|
|
--cap-add CAP_NET_ADMIN \
|
|
|
|
--pull=always \
|
|
|
|
--rm \
|
|
|
|
-it \
|
|
|
|
-v .:"$wd" \
|
|
|
|
registry.opensuse.org/home/crameleon/containers/containers/crameleon/pytest-nftables:latest \
|
2024-09-29 02:23:30 +02:00
|
|
|
env NFT-API-CONFIG="$wd"/tests/config.yaml PYTHONPATH="$wd/nft_http_api_client:$wd/nft_http_api_server" pytest --pdb --pdbcls=IPython.terminal.debugger:Pdb -rA -s -v -x "$wd"/tests
|
2024-09-26 00:22:16 +02:00
|
|
|
|