add file filters tests
Tests file access with all filters enabled. It does it both for local and network access, due to regression in signature checking over network. This includes all files in distribution to not depend on existence of compression tools and gpg. Test preloads all required modules to avoid having to provide signatures for them. Still not implemented is file offset filter (is not available in grub script, needs extra module)
This commit is contained in:
parent
4b94e3227b
commit
272e0466da
13 changed files with 111 additions and 0 deletions
BIN
tests/file_filter/file.gz
Normal file
BIN
tests/file_filter/file.gz
Normal file
Binary file not shown.
BIN
tests/file_filter/file.gz.sig
Normal file
BIN
tests/file_filter/file.gz.sig
Normal file
Binary file not shown.
BIN
tests/file_filter/file.lzop
Normal file
BIN
tests/file_filter/file.lzop
Normal file
Binary file not shown.
BIN
tests/file_filter/file.lzop.sig
Normal file
BIN
tests/file_filter/file.lzop.sig
Normal file
Binary file not shown.
BIN
tests/file_filter/file.xz
Normal file
BIN
tests/file_filter/file.xz
Normal file
Binary file not shown.
BIN
tests/file_filter/file.xz.sig
Normal file
BIN
tests/file_filter/file.xz.sig
Normal file
Binary file not shown.
BIN
tests/file_filter/keys
Normal file
BIN
tests/file_filter/keys
Normal file
Binary file not shown.
BIN
tests/file_filter/keys.pub
Normal file
BIN
tests/file_filter/keys.pub
Normal file
Binary file not shown.
6
tests/file_filter/test.cfg
Normal file
6
tests/file_filter/test.cfg
Normal file
|
@ -0,0 +1,6 @@
|
|||
trust /keys.pub
|
||||
set check_signatures=enforce
|
||||
cat /file.gz
|
||||
cat /file.xz
|
||||
cat /file.lzop
|
||||
set check_signatures=
|
Loading…
Add table
Add a link
Reference in a new issue