Verified Commit be1e7c9d authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

test: Add test for WORKDIR

parent 70aad50f
Pipeline #13223 passed with stage
in 9 minutes and 26 seconds
......@@ -277,3 +277,11 @@ load ../lib/common
[ "$status" -ne 0 ]
checkRemovedPackageDB extra "pkg-simple-a"
}
@test "Wrong BUILDDIR" {
local target=$(mktemp -d)
BUILDDIR=$target releasePackage extra 'pkg-single-arch'
run db-update
(( $status == 1 ))
[[ $output == *'was not built in a chroot'* ]]
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment