Skip to content

Commit

Permalink
Added rebuild images
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Aug 26, 2016
1 parent 5bf904d commit 87a228d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/image-test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,11 @@ load ../common
run bash -c "bin/destroy.sh"
[ $status -eq 0 ]
}
@test "Rebuilding and destroying in one step" {
run bash -c "bin/build.sh"
if [ $status -ne 0 ]; then
skip "Cannot rebuild the image"
fi
run bash -c "bin/rebuild.sh"
[ $status -eq 0 ]
}

0 comments on commit 87a228d

Please sign in to comment.