diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-10-10 08:05:04 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-10 08:16:32 +0200 |
commit | b20d4dbbda81b8613efdb21f4d3f8a21c50b1b96 (patch) | |
tree | 48677d55757afb3fb15be1f1da9ba6b7f68baf72 /test | |
parent | ac33f77ac47ffb2c1de4029ae1083d6f4e421e32 (diff) | |
download | barebox-b20d4dbbda81b8613efdb21f4d3f8a21c50b1b96.tar.gz |
test: emulate.pl: fix support for multiple block devices
Block devices on QEMU command line need a unique id. The id factors in
$i, which we failed to increment.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20221010060504.2082266-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test/emulate.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/emulate.pl b/test/emulate.pl index 77b751a329..b5e2188b86 100755 --- a/test/emulate.pl +++ b/test/emulate.pl @@ -253,6 +253,8 @@ sub emulate { } else { die "--blk unsupported for target\n"; } + + $i++; } # note that barebox doesn't yet support multiple virtio consoles |