]> git.ipfire.org Git - thirdparty/grub.git/commit
tests/util/grub-shell: Create run.sh in working directory for easily running test...
authorGlenn Washburn <development@efficientek.com>
Sat, 21 Jan 2023 06:10:45 +0000 (00:10 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 2 Feb 2023 18:44:56 +0000 (19:44 +0100)
commit73f2e7381532a2c191bb59c92a2f53c12404c628
tree960db56ca8f286ba718d79849731bd3dd38bf4f3
parentcb7afebc362219a8f595658a3059d75e1988e8a6
tests/util/grub-shell: Create run.sh in working directory for easily running test again

Now it becomes trivial to re-run a test from the output in its working
directory. This also makes it easy to send a reproducible failing test to
the mailing list. This has allowed a refactor so that the duplicated code
to call QEMU has be condensed (e.g. the use of timeout and file descriptor
redirection). The run.sh script will pass any arguments given to QEMU.
This allows QEMU to be easily started in a state ready for GDB to be
attached.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-shell.in