mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
tests/util/grub-shell: Allow explicitly using other serial ports for output
While here, move "-qemu=*" case to be next to the "--qemu-opts=*" case. This causes no change in logic, but is more logically located. Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
ee2349ef65
commit
846829aca8
1 file changed
+4
-2
@@ -259,8 +259,6 @@ for option in "$@"; do
|
|||||||
--mkrescue-arg=*)
|
--mkrescue-arg=*)
|
||||||
mkr=`echo "$option" | sed -e 's/--mkrescue-arg=//' -e 's/,/ /g'`
|
mkr=`echo "$option" | sed -e 's/--mkrescue-arg=//' -e 's/,/ /g'`
|
||||||
mkrescue_args="$mkrescue_args $mkr" ;;
|
mkrescue_args="$mkrescue_args $mkr" ;;
|
||||||
--qemu=*)
|
|
||||||
qemu=`echo "$option" | sed -e 's/--qemu=//' -e 's/,/ /g'`;;
|
|
||||||
--pseries)
|
--pseries)
|
||||||
qemu=qemu-system-ppc64
|
qemu=qemu-system-ppc64
|
||||||
serial_port=ieee1275/hvterm
|
serial_port=ieee1275/hvterm
|
||||||
@@ -269,6 +267,10 @@ for option in "$@"; do
|
|||||||
trim=1
|
trim=1
|
||||||
pseries=y
|
pseries=y
|
||||||
;;
|
;;
|
||||||
|
--serial=*)
|
||||||
|
serial_port=`echo "$option" | sed -e 's/--serial=//'`;;
|
||||||
|
--qemu=*)
|
||||||
|
qemu=`echo "$option" | sed -e 's/--qemu=//' -e 's/,/ /g'`;;
|
||||||
--qemu-opts=*)
|
--qemu-opts=*)
|
||||||
qs=`echo "$option" | sed -e 's/--qemu-opts=//'`
|
qs=`echo "$option" | sed -e 's/--qemu-opts=//'`
|
||||||
qemuopts="$qemuopts $qs" ;;
|
qemuopts="$qemuopts $qs" ;;
|
||||||
|
|||||||
Reference in new issue
Block a user