From cef88cf7a8cbe9880d40cf0255b5cf1408cca50f Mon Sep 17 00:00:00 2001 From: Adam Spofford <93943719+adamspofford-dfinity@users.noreply.github.com> Date: Thu, 18 Jan 2024 09:11:52 -0800 Subject: [PATCH] Update e2e/tests-dfx/install.bash Co-authored-by: Eric Swanson <64809312+ericswanson-dfinity@users.noreply.github.com> --- e2e/tests-dfx/install.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/tests-dfx/install.bash b/e2e/tests-dfx/install.bash index e09125012d..966c02e0da 100644 --- a/e2e/tests-dfx/install.bash +++ b/e2e/tests-dfx/install.bash @@ -159,7 +159,8 @@ teardown() { assert_command dfx build assert_command dfx canister install --all assert_command dfx canister info large - assert_match "Module hash: 0x$(sha2sum .dfx/local/canisters/large/large.wasm.gz | head -c 64)" + HASH="$(sha256sum .dfx/local/canisters/large/large.wasm | head -c 64)" + assert_match "Module hash: 0x$HASH" } @test "--mode=auto selects install or upgrade automatically" {