diff --git a/spread.yaml b/spread.yaml index 83e8dbc7..f40a24fd 100644 --- a/spread.yaml +++ b/spread.yaml @@ -87,7 +87,7 @@ prepare: | apt install -y curl wget curl -s https://api.github.com/repos/canonical/chisel/releases/latest \ - | awk "/browser_download_url/ && /chisel_v/ && /$arch/" \ + | awk "/browser_download_url/ && /chisel_v/ && /_$arch\./" \ | cut -d : -f 2,3 \ | tr -d \" \ | xargs wget diff --git a/tests/spread/integration/dash/task.yaml b/tests/spread/integration/dash/task.yaml new file mode 100644 index 00000000..3d3f7e4b --- /dev/null +++ b/tests/spread/integration/dash/task.yaml @@ -0,0 +1,8 @@ +summary: Integration tests for dash + +execute: | + rootfs="$(install-slices dash_bins)" + + chroot "${rootfs}" dash -c "echo Success > /test" + + test $(cat "${rootfs}/test") == "Success"