mirror of
https://github.com/p8952/bocker.git
synced 2025-12-29 10:18:27 +01:00
Improve test coverage
This commit is contained in:
10
tests/teardown
Normal file
10
tests/teardown
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -o errexit -o nounset -o pipefail
|
||||
|
||||
for img in $(./bocker images | grep 'img'); do
|
||||
./bocker rm "$img"
|
||||
done
|
||||
|
||||
for ps in $(./bocker ps | grep 'ps' | awk '{print $1}'); do
|
||||
./bocker rm "$ps"
|
||||
done
|
||||
Reference in New Issue
Block a user