diff --git a/Makefile b/Makefile index 38f26d22..c529ba21 100644 --- a/Makefile +++ b/Makefile @@ -85,6 +85,11 @@ env: @echo LINUX_VERSION=$(LINUX_VERSION) @echo LINUX_HEADERS_URLPATH=$(LINUX_HEADERS_URLPATH) +test: + make -C sys-utils/libcmt/ test + cd rollup-http/rollup-http-server && \ + MOCK_BUILD=true cargo test -- --show-output --test-threads=1 + setup: @docker run --privileged --rm linuxkit/binfmt:bebbae0c1100ebf7bf2ad4dfb9dfd719cf0ef132 diff --git a/rollup-http/rollup-http-server/tests/rollup-http-server-tests.rs b/rollup-http/rollup-http-server/tests/rollup-http-server-tests.rs index 56482ea7..c23267c5 100644 --- a/rollup-http/rollup-http-server/tests/rollup-http-server-tests.rs +++ b/rollup-http/rollup-http-server/tests/rollup-http-server-tests.rs @@ -270,8 +270,8 @@ async fn test_write_voucher( rollup_http_client::client::send_voucher(&context.address, test_voucher_02.clone()).await; context.server_handle.stop(true).await; - check_voucher_or_fail(test_voucher_02, "none.output-0.bin"); - std::fs::remove_file("none.output-0.bin")?; + check_voucher_or_fail(test_voucher_02, "none.output-1.bin"); + std::fs::remove_file("none.output-1.bin")?; Ok(()) }