From 3fa73bfdb5183cb8077d43c3c219c3fd9e9a1b65 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 8 Oct 2018 13:21:38 +0530 Subject: cli: memory leak issues reported by asan With this fix, a run on 'rpc-coverage.t' passes properly. This should help to get started with other fixes soon! Change-Id: I257ae4e28b9974998a451d3b490cc18c02650ba2 updates: bz#1633930 Signed-off-by: Amar Tumballi --- tests/basic/rpc-coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/basic') diff --git a/tests/basic/rpc-coverage.sh b/tests/basic/rpc-coverage.sh index b7aaef0bcb5..4b6759a59eb 100755 --- a/tests/basic/rpc-coverage.sh +++ b/tests/basic/rpc-coverage.sh @@ -437,7 +437,7 @@ function run_tests() test_chmod; test_chown; test_utimes; - if $run_lock_tests; then + if [ "$run_lock_tests" = "1" ]; then test_locks; fi test_readdir; -- cgit