Commit graph

113 commits

Author SHA1 Message Date
Alexandre Pujol
5fffc959b4 feat(profile): needrestart improve mqueue rule. 2024-12-31 00:07:25 +00:00
Alexandre Pujol
64b8cf41c7 fix(integration): disable needrestart test due to upstream issue. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
25bd3550fb feat(profile): add needrestart-vmlinuz-get-version & tests for needrestart. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
ae13890fc5 test(integration): add sysctl. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
4fe13bcb1c feat(profile): add fc-match & fc-pattern. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
70497e77a3 fix(tests): ensure fwupdmgr don't fail even if the target does not support firmware update. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
30860ad401 tests: add groupmod. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
c4b42f1ece tests: add fwupdmgr.bats 2024-12-31 00:07:24 +00:00
Alexandre Pujol
9711d43537 tests: ensure systemd-homed is started before the homectl test. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
97f4c51df3 tests: add dmesg.bats 2024-12-31 00:07:24 +00:00
Alexandre Pujol
5840e59030 tests: enable the homectl tests. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
354f6ee250 tests: remove hanged test 2024-12-31 00:07:24 +00:00
Alexandre Pujol
0c6d888f9e fix(tests): missing sudo in ip integration test. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
971d9daaf2 tests: cleanup the basic structure of integration tests. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
87f6c116f1 feat: profiles and integration tests improvments.
Add the udbus variable to be used in `unix bind` rule for dbus.
2024-12-31 00:07:24 +00:00
Alexandre Pujol
b36a980461 ci(github): set local tunable for github actions. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
562fcc88a9 tests(ci): install integration tests requirements. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
9aca44908c tests: add more integration tests for core tools. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
d40b112185 fix(test): minor fixes. 2024-12-31 00:07:24 +00:00
Alexandre Pujol
c6064a774c tests(integration): add more tests. 2024-12-31 00:07:24 +00:00
nobody43
f75fa9a3a6
fix exec_path bug, ignore skipable files 2024-11-23 19:54:17 +00:00
nobody43
93085ece96
Update profile_check.py 2024-11-23 18:35:53 +00:00
nobody43
c9b1dde542
Update profile_check.py 2024-11-22 19:57:13 +00:00
nobody43
59d7980478
polishing 2024-11-19 18:49:49 +00:00
nobody43
46c5381cd0
Update profile_check.py 2024-11-18 23:31:22 +00:00
nobody43
f1118cd3b0
Create profile_check.py 2024-11-18 23:14:39 +00:00
Alexandre Pujol
897302bc5b
chore(profile): remove trailing whitespace in profiles (2). 2024-10-22 20:07:11 +01:00
Alexandre Pujol
38b973c596
chore(profile): remove trailing whitespace in profiles.
Some checks are pending
Ubuntu / build (default, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (default, ubuntu-24.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Waiting to run
Ubuntu / tests (push) Blocked by required conditions
2024-10-22 20:03:24 +01:00
Alexandre Pujol
d7521b36df
test: improve gpgconf tests.
Some checks are pending
Ubuntu / build (default, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (default, ubuntu-24.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Waiting to run
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Waiting to run
Ubuntu / tests (push) Blocked by required conditions
2024-10-22 00:53:50 +01:00
Alexandre Pujol
cca8e6508f
fix(profile): apply some fix raised by the test suite. 2024-10-22 00:37:50 +01:00
Alexandre Pujol
21dcda26bb
tests(integration): add more test cases (2). 2024-10-21 23:36:51 +01:00
Alexandre Pujol
f14fef10c2
tests(integration): add more test cases. 2024-10-21 22:16:08 +01:00
Alexandre Pujol
061f5aa95e
test: add initial structure for the common integration tests.
- Add bats common helpers.
- Add a first set of tests for some simple program.
2024-10-21 19:07:47 +01:00
Alexandre Pujol
d6d4648106
tests(bats): minor improvement to test generation. 2024-10-21 14:13:25 +01:00
Alexandre Pujol
c59086311b
tests: rewrite the way to generate integration tests. 2024-10-19 22:50:09 +01:00
Alexandre Pujol
d406596124
tests: small fixes on builders scripts. 2024-10-16 23:58:48 +01:00
Alexandre Pujol
d793858d26
tests(check): also checks indentation. 2024-10-16 23:38:04 +01:00
Alexandre Pujol
3a6844c8ce
tests(check): also checks files header. 2024-10-15 16:18:53 +01:00
Alexandre Pujol
75f2c0c7b8
tests: ensure vim syntax and abi are set on all profile/abs. 2024-10-09 22:26:11 +01:00
Alexandre Pujol
146bda8f45
test(packer): as base image for the cosmic DE. 2024-10-07 21:41:44 +01:00
Alexandre Pujol
4f861158cf
build: unify locally build package output directory. 2024-10-07 14:05:40 +01:00
Alexandre Pujol
31af758639
fix(test): packer hcl & uefi path 2024-10-07 12:16:42 +01:00
Alexandre Pujol
03b777340d
tests(packer): update & cleanup tests images. 2024-10-06 22:01:39 +01:00
Alexandre Pujol
36f620dab1
tests: add 'make check' for common issues in Apparmor profiles. 2024-10-06 15:39:21 +01:00
Alexandre Pujol
14a5d8deae
fix(aa-log): ensure we also split quote in log value
fix #229
2024-10-02 21:06:45 +01:00
Alexandre Pujol
3f98e86e24
fix(aa-log): too much cleaning in pci path.
see #505
2024-10-02 20:48:36 +01:00
Alexandre Pujol
59ac54e2fc
build: reorganise build: abi4, fallback, prebuild cli
- ABI4 by default, fallback to abi 3.
- aa-prebuild cli that can be used by other project shipping profiles.
- --file option to cli to only build one dev profile.
- add abi version filter to only & exclude directives.
2024-10-02 16:22:46 +01:00
Alexandre Pujol
08a6f8fb0b
tests(packer): enable apparmor debug in tests image. 2024-10-01 17:49:43 +01:00
Alexandre Pujol
e1f665aec1
fix(go): updated function name. 2024-09-26 22:53:02 +01:00
Alexandre Pujol
4f4e373877
chore: make go vet happy. 2024-08-20 19:07:56 +01:00