gen2stage4/tests/0002.bats

29 lines
472 B
Text
Raw Permalink Normal View History

#!/usr/bin/env bats
load test_helper
setup() {
f test/usr/bin/ping
f test/usr/bin/lost+found
f test/lost+found
2024-08-03 21:34:46 -04:00
gen2stage4 -q -l -t test test
}
teardown() {
2024-08-04 02:13:16 -04:00
rm -rf test test.tar.xz
}
@test "/usr/bin/ping is included" {
assert_tar_includes test/usr/bin/ping
}
2024-08-03 16:16:46 -04:00
@test "/usr/bin/lost+found is included" {
assert_tar_includes test/usr/bin/lost+found
}
2024-08-03 16:16:46 -04:00
@test "/lost+found is included" {
assert_tar_includes test/lost+found
}
# vim: ft=bash