Skip to content

Commit

Permalink
Removed some previous control in build test
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Aug 26, 2016
1 parent ea7f188 commit 0cf5e9f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/image-test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ load ../common
skip "imagename,maintainer and version are not defined in Dockerfile"
fi

run bash -c "docker ps -f names=$imagename |wc -l"
if [ $output -gt 1 ]; then
skip "Docker $imagename/$maintainer was created before"
fi
run bash -c "docker images -q $maintainer/$imagename"
if [ $status -eq 1 ]; then
skip "Docker image $maintainer/$imagename was built before"
fi
run bash -c "bin/build.sh"
[ $status -eq 0 ]
}
Expand Down

0 comments on commit 0cf5e9f

Please sign in to comment.