test: fix app_backup recipe cleanups [ci skip]
This commit is contained in:
parent
c456d13881
commit
7b240059b0
|
@ -78,8 +78,6 @@ teardown(){
|
||||||
|
|
||||||
run rm -rf "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
run rm -rf "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||||
assert_not_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
assert_not_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||||
|
|
||||||
_checkout_recipe
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "ensure recipe up to date if no --offline" {
|
@test "ensure recipe up to date if no --offline" {
|
||||||
|
@ -96,7 +94,7 @@ teardown(){
|
||||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||||
refute_output --partial 'behind 3'
|
refute_output --partial 'behind 3'
|
||||||
|
|
||||||
_reset_recipe "$TEST_RECIPE"
|
_reset_recipe
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "ensure recipe not up to date if --offline" {
|
@test "ensure recipe not up to date if --offline" {
|
||||||
|
@ -122,7 +120,7 @@ teardown(){
|
||||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||||
refute_output --partial 'behind 3'
|
refute_output --partial 'behind 3'
|
||||||
|
|
||||||
_reset_recipe "$TEST_RECIPE"
|
_reset_recipe
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "detect backup labels" {
|
@test "detect backup labels" {
|
||||||
|
|
Loading…
Reference in New Issue