diff --git a/tests/image.bats b/tests/image.bats new file mode 100755 index 0000000..cc1db3d --- /dev/null +++ b/tests/image.bats @@ -0,0 +1,17 @@ +#!/usr/bin/env bats + +load ../common + +setup() { + ./bin/rebuild.sh +} + +@test "Should be buildable" { + run bin/build.sh + [ "$status" -eq 0 ] +} + +@test "Concludes first-run experience" { + result="$(docker run -i $maintainer/$imagename find /tmp/firsttimerunning)" + [ "$result" != '' ] +} \ No newline at end of file