From f0f029dd3dd7c2e8282295f4017350111279d286 Mon Sep 17 00:00:00 2001 From: Martin Raszyk Date: Fri, 15 Nov 2024 17:52:08 +0100 Subject: [PATCH] quotes --- rust/periodic_tasks/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rust/periodic_tasks/Makefile b/rust/periodic_tasks/Makefile index 239495158..1a09f9dfd 100644 --- a/rust/periodic_tasks/Makefile +++ b/rust/periodic_tasks/Makefile @@ -30,11 +30,11 @@ deploy: .SILENT: test test: deploy # Validate the counters are non-zero. - while [ "$(dfx canister call heartbeat counter --output json)" = "0" ]; do sleep 1; done && dfx canister call heartbeat counter --output json | grep -vw 0 && echo 'PASS' - while [ "$(dfx canister call timer counter --output json)" = "0" ]; do sleep 1; done && dfx canister call timer counter --output json | grep -vw 0 && echo 'PASS' + while [ "$(dfx canister call heartbeat counter --output json)" = "0" ]; do sleep 1; done && dfx canister call heartbeat counter --output json | grep -vw "0" && echo 'PASS' + while [ "$(dfx canister call timer counter --output json)" = "0" ]; do sleep 1; done && dfx canister call timer counter --output json | grep -vw "0" && echo 'PASS' # Validate the cycles used for periodic tasks are non-zero. - while [ "$(dfx canister call heartbeat cycles_used --output json)" = "0" ]; do sleep 1; done && dfx canister call heartbeat cycles_used --output json | grep -vw 0 && echo 'PASS' - while [ "$(dfx canister call timer cycles_used --output json)" = "0" ]; do sleep 1; done && dfx canister call timer cycles_used --output json | grep -vw 0 && echo 'PASS' + while [ "$(dfx canister call heartbeat cycles_used --output json)" = "0" ]; do sleep 1; done && dfx canister call heartbeat cycles_used --output json | grep -vw "0" && echo 'PASS' + while [ "$(dfx canister call timer cycles_used --output json)" = "0" ]; do sleep 1; done && dfx canister call timer cycles_used --output json | grep -vw "0" && echo 'PASS' .PHONY: clean .SILENT: clean