diff --git a/tests/abuild.bats b/tests/abuild.bats index b8451c3..eb31e1f 100644 --- a/tests/abuild.bats +++ b/tests/abuild.bats @@ -1,6 +1,7 @@ setup() { - export ABUILD=../abuild - export ABUILD_SHAREDIR=$PWD/.. + export ABUILD="$PWD/../abuild" + export ABUILD_SHAREDIR="$PWD/.." + export REPODEST="$BATS_TMPDIR"/packages } @test "abuild: help text" { @@ -10,3 +11,8 @@ setup() { @test "abuild: version string" { $ABUILD -V } + +@test "abuild: build simple package without deps" { + cd testrepo/pkg1 + $ABUILD +}