test: ensure 3 commits behind, ignore output on fail [ci skip]
This commit is contained in:
parent
0be532692d
commit
d5593b69e0
|
@ -13,9 +13,12 @@ setup() {
|
|||
run git -C "$ABRA_DIR/recipes/matrix-synapse" reset --hard HEAD~3
|
||||
assert_success
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/matrix-synapse" status
|
||||
assert_success
|
||||
assert_output --partial 'behind 3'
|
||||
|
||||
run $ABRA recipe release matrix-synapse --no-input
|
||||
assert_failure
|
||||
assert_output --regexp 'latest git tag .* are the same'
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/matrix-synapse" status
|
||||
refute_output --partial 'behind 3'
|
||||
|
|
Loading…
Reference in New Issue