Update Bach to the latest unreleased version

This commit is contained in:
Chai Feng 2024-09-29 10:22:50 +08:00
parent 6cdd4dfd2f
commit 3d6896cdd1
No known key found for this signature in database
GPG Key ID: 2DCD9A24E523FFD2
2 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 447edb60db232d3dbc2267f37c49bd7a070cc83d Subproject commit 27885eb79c11e4652dede994c886ae5f9e30994f

View File

@ -18,7 +18,7 @@ source "$working_dir"/bach/bach.sh
@mocktrue docker -v @mocktrue docker -v
@mock docker -v === @stdout Docker version 0.0.0, build dummy @mock docker -v === @stdout Docker version 0.0.0, build dummy
@ignore remove_blank_lines @mockpipe remove_blank_lines
@ignore echo @ignore echo
@ignore err @ignore err
@ -465,7 +465,7 @@ test-ufw-docker--instance-name-found-a-name() {
} }
test-ufw-docker--instance-name-found-a-name-assert() { test-ufw-docker--instance-name-found-a-name-assert() {
docker inspect --format="{{.Name}}" foo docker inspect --format="{{.Name}}" foo
echo -n foo @dryrun echo -n foo
} }
@ -557,7 +557,7 @@ test-ufw-docker--list-number-assert() {
test-ufw-docker--delete-empty-result() { test-ufw-docker--delete-empty-result() {
@mock ufw-docker--list-number webapp 80 tcp === @stdout "" @mock ufw-docker--list-number webapp 80 tcp === @stdout ""
@mock sort -rn @mockpipe sort -rn
load-ufw-docker-function ufw-docker--delete load-ufw-docker-function ufw-docker--delete
ufw-docker--delete webapp 80 tcp ufw-docker--delete webapp 80 tcp
@ -569,7 +569,7 @@ test-ufw-docker--delete-empty-result-assert() {
test-ufw-docker--delete-all() { test-ufw-docker--delete-all() {
@mock ufw-docker--list-number webapp 80 tcp === @stdout 5 8 9 @mock ufw-docker--list-number webapp 80 tcp === @stdout 5 8 9
@mock sort -rn @mockpipe sort -rn
load-ufw-docker-function ufw-docker--delete load-ufw-docker-function ufw-docker--delete
ufw-docker--delete webapp 80 tcp ufw-docker--delete webapp 80 tcp