mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-13 18:58:57 -05:00
Fix test0003 for kmod
This commit is contained in:
parent
21ae95f8c0
commit
fbf5621221
1 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@ setup() {
|
|||
}
|
||||
|
||||
teardown() {
|
||||
rm -rf test test.tar.bz2 test.ksrc.tar.bz2 test.tar.bz2.kmod
|
||||
rm -rf test test.tar.bz2 test.ksrc.tar.bz2 test.kmod.tar.bz2
|
||||
}
|
||||
|
||||
@test "/usr/bin/ping is included" {
|
||||
|
@ -72,19 +72,19 @@ teardown() {
|
|||
}
|
||||
|
||||
@test "/lib/modules/$TEST_UNAME/mod.ko is included in kmod" {
|
||||
assert_tar_includes test/lib/modules/"$TEST_UNAME"/mod.ko test.tar.bz2.kmod
|
||||
assert_tar_includes test/lib/modules/"$TEST_UNAME"/mod.ko test.kmod.tar.bz2
|
||||
}
|
||||
|
||||
@test "/lib64/modules/$TEST_UNAME/mod.ko is included in kmod" {
|
||||
assert_tar_includes test/lib64/modules/"$TEST_UNAME"/mod.ko test.tar.bz2.kmod
|
||||
assert_tar_includes test/lib64/modules/"$TEST_UNAME"/mod.ko test.kmod.tar.bz2
|
||||
}
|
||||
|
||||
@test "/lib/modules/different-uname/ is excluded in kmod" {
|
||||
assert_tar_excludes test/lib/modules/different-uname/ test.tar.bz2.kmod
|
||||
assert_tar_excludes test/lib/modules/different-uname/ test.kmod.tar.bz2
|
||||
}
|
||||
|
||||
@test "/lib64/modules/different-uname/ is excluded in kmod" {
|
||||
assert_tar_excludes test/lib64/modules/different-uname/ test.tar.bz2.kmod
|
||||
assert_tar_excludes test/lib64/modules/different-uname/ test.kmod.tar.bz2
|
||||
}
|
||||
|
||||
# vim: ft=bash
|
||||
|
|
Loading…
Reference in a new issue