gen2stage4/tests/0004.bats

24 lines
380 B
Bash

#!/usr/bin/env bats
load test_helper
setup() {
f test/boot/kernel
d test/boot/boot
gen2stage4 -b -q -t test test
}
teardown() {
rm -rf test test.tar.xz
}
@test "/boot/kernel is excluded" {
assert_tar_excludes test/boot/kernel
}
@test "/boot/boot is included" {
skip "TODO: Not yet implemented"
assert_tar_includes test/boot/boot
}
# vim: ft=bash