tests: add test for basic package
This commit is contained in:
parent
4c38544a96
commit
68baa23906
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue