2020-02-06 18:59:18 -05:00
|
|
|
#!/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
|
2020-02-06 18:59:18 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
teardown() {
|
2024-08-04 02:13:16 -04:00
|
|
|
rm -rf test test.tar.xz
|
2020-02-06 18:59:18 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@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
|
2020-02-06 18:59:18 -05:00
|
|
|
}
|
|
|
|
|
2024-08-03 16:16:46 -04:00
|
|
|
@test "/lost+found is included" {
|
|
|
|
assert_tar_includes test/lost+found
|
2020-02-06 18:59:18 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ft=bash
|