-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/nested, tests/lib/snaps: make core20-fde-dbx test more realistic (
#14952) * tests/lib/snaps/store/test-snapd-efitools: test snap for manipulating efi variables Signed-off-by: Maciej Borzecki <[email protected]> * tests/nested/manual/core20-fde-dbx: perform actual DBX update Update the test to be more realistic and perform an actual update of DBX EFI variable. Signed-off-by: Maciej Borzecki <[email protected]> * tests/nested/manual/core20-fde-dbx: workaround inconsistent dbx content on UC20/UC22+ There is a discrepancy in the content of dbx between UC20 and later releases, that shows up only after booting the system. It is suspected that some component of boot chain injects additional keys. Signed-off-by: Maciej Borzecki <[email protected]> * tests/nested/manual/core20-fde-dbx: add scenario with a full update cycle followed by reboot Signed-off-by: Maciej Borzecki <[email protected]> --------- Signed-off-by: Maciej Borzecki <[email protected]>
- Loading branch information
Showing
4 changed files
with
152 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
cmd="$1" | ||
shift | ||
|
||
exec "$SNAP/usr/bin/$cmd" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: test-snapd-efitools | ||
summary: A snap for manipulating EFI tools (for testing snapd and Ubuntu Core). | ||
description: | | ||
A snap for manipulating EFI variables. Used in snapd and Ubuntu Core testing | ||
workflows. | ||
version: 1.9.2-3ubuntu3 | ||
base: core24 | ||
confinement: strict | ||
|
||
apps: | ||
tool: | ||
command: bin/cmd | ||
plugs: | ||
- fwupd | ||
- hardware-observe | ||
|
||
parts: | ||
efitools: | ||
plugin: nil | ||
stage-packages: | ||
- efitools | ||
|
||
snap-files: | ||
plugin: dump | ||
source: . |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters