bootconfig: Check the parsed output of the good examples

Check whether the parsed output of the good example configs are
the same as expected.

Link: https://lore.kernel.org/all/177025239529.14982.12913754615993262263.stgit@devnote2/

Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Tested-by: Steven Rostedt (Google) <rostedt@goodmis.org>
This commit is contained in:
Masami Hiramatsu (Google)
2026-02-05 09:46:35 +09:00
parent 1cadf2819b
commit 8c5d862fcb
14 changed files with 44 additions and 0 deletions

View File

@@ -179,6 +179,9 @@ done
echo "=== expected success cases ==="
for i in samples/good-* ; do
xpass $BOOTCONF -a $i $INITRD
x="samples/exp-"`basename $i`
$BOOTCONF $i > $TEMPCONF
xpass diff $x $TEMPCONF
done