Commit graph

114 commits

Author SHA1 Message Date
nobody43
edaa45067a fix exec_path bug, ignore skipable files
Some checks failed
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
2024-12-13 18:07:57 +01:00
nobody43
8f4b330407 Update profile_check.py 2024-12-13 18:07:57 +01:00
nobody43
3030c28c05 Update profile_check.py 2024-12-13 18:07:57 +01:00
nobody43
679df325de polishing 2024-12-13 18:07:57 +01:00
nobody43
21b60b4fa3 Update profile_check.py 2024-12-13 18:07:57 +01:00
nobody43
313f2f7f2c Create profile_check.py 2024-12-13 18:07:57 +01:00
Alexandre Pujol
94bf2495e3 feat(profile): needrestart improve mqueue rule. 2024-12-12 22:52:55 +01:00
Alexandre Pujol
33a66ef6a2
fix(integration): disable needrestart test due to upstream issue.
Some checks failed
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
2024-11-21 20:22:52 +00:00
Alexandre Pujol
3960f20f00
feat(profile): add needrestart-vmlinuz-get-version & tests for needrestart. 2024-11-21 19:39:55 +00:00
Alexandre Pujol
5237ab3989
test(integration): add sysctl. 2024-11-21 19:33:07 +00:00
Alexandre Pujol
8d4d17fa34
feat(profile): add fc-match & fc-pattern. 2024-11-21 19:26:57 +00:00
Alexandre Pujol
ffd6ecba5b
fix(tests): ensure fwupdmgr don't fail even if the target does not support firmware update. 2024-11-21 19:15:56 +00:00
Alexandre Pujol
2332f71b17
tests: add groupmod.
Some checks failed
Ubuntu / check (push) Has been cancelled
Ubuntu / build (default, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (default, ubuntu-24.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-22.04) (push) Has been cancelled
Ubuntu / build (full-system-policy, ubuntu-24.04) (push) Has been cancelled
Ubuntu / tests (push) Has been cancelled
2024-11-20 00:14:22 +00:00
Alexandre Pujol
685105a662
tests: add fwupdmgr.bats 2024-11-20 00:12:31 +00:00
Alexandre Pujol
edad2e1984
tests: ensure systemd-homed is started before the homectl test. 2024-11-20 00:11:57 +00:00
Alexandre Pujol
5ef78b1e6c
tests: add dmesg.bats 2024-11-20 00:08:26 +00:00
Alexandre Pujol
4a5fa74e63
tests: enable the homectl tests. 2024-11-19 23:43:17 +00:00
Alexandre Pujol
df02f7a0fd
tests: remove hanged test 2024-11-19 22:58:42 +00:00
Alexandre Pujol
3eba6bef6d
fix(tests): missing sudo in ip integration test. 2024-11-19 21:49:03 +00:00
Alexandre Pujol
5c70c50c26
tests: cleanup the basic structure of integration tests. 2024-11-19 21:27:04 +00:00
Alexandre Pujol
4e5f4cb06a
feat: profiles and integration tests improvments.
Add the udbus variable to be used in `unix bind` rule for dbus.
2024-11-19 19:04:27 +00:00
Alexandre Pujol
3013c1ea5a
ci(github): set local tunable for github actions. 2024-11-13 12:31:17 +00:00
Alexandre Pujol
e4f0f06648
tests(ci): install integration tests requirements. 2024-11-12 21:43:42 +00:00
Alexandre Pujol
5611001e5b
tests: add more integration tests for core tools. 2024-11-12 21:42:31 +00:00
Alexandre Pujol
6f14d025e9
Merge branch 'integration'
* integration:
  fix(test): minor fixes.
  tests(integration): add more tests.
2024-11-11 23:39:43 +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
5240dcbdd1
fix(test): minor fixes. 2024-10-22 13:38:42 +01:00
Alexandre Pujol
449c8d3e3a
tests(integration): add more tests. 2024-10-22 13:16:03 +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