From be224d3af04fe7561b2c5ecd0b9de09a628c505c Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Mon, 10 May 2021 01:43:54 +0800 Subject: [PATCH] [TD-3980] --- tests/script/sh/demo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/script/sh/demo.lua b/tests/script/sh/demo.lua index 2bb660b6b3..c5e5582fc3 100644 --- a/tests/script/sh/demo.lua +++ b/tests/script/sh/demo.lua @@ -30,7 +30,7 @@ end function test_finalize(ans, key) local ret = 0.0 - if (ans[key] ~= nil) + if (ans[key] ~= nil and ans[key]["num"] == 30000) then ret = ans[key]["sum"]/ans[key]["num"] ans[key]["sum"] = 0.0 -- GitLab