
Cleanup test containers when possible during tests. Add 'test-clean' make target for remaining bat-* containers.
8 lines
120 B
Bash
Executable file
8 lines
120 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Remove "bats-*" containers
|
|
function teardown {
|
|
docker rm -f $(docker ps -aq -f name=bats-*)
|
|
}
|
|
|
|
teardown
|