Skip to content

Commit afa129c

Browse files
committed
tests: Bump version of CH used
Command line syntax has changed so this needs adapting. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
1 parent 1db9bf8 commit afa129c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

scripts/fetch_images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x
44
fetch_ch() {
55
CH_PATH="$1"
66
CH_ARCH="$2"
7-
CH_VERSION="v34.0"
7+
CH_VERSION="v36.0"
88
CH_URL_BASE="https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/$CH_VERSION"
99

1010
[ "$CH_ARCH" = "aarch64" ] && CH_NAME="cloud-hypervisor-static-aarch64"

src/integration.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,9 +492,8 @@ mod tests {
492492
"--kernel",
493493
&format!("target/{TARGET_TRIPLE}/release/hypervisor-fw"),
494494
"--disk",
495-
&format!("path={os}"),
496-
"--disk",
497-
&format!("path={ci}"),
495+
format!("path={os}").as_str(),
496+
format!("path={ci}").as_str(),
498497
"--net",
499498
&format!("tap={},mac={}", net.tap_name, net.guest_mac),
500499
]);

0 commit comments

Comments
 (0)