summaryrefslogtreecommitdiffstats
path: root/tests/basic
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2018-10-08 13:21:38 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-10-09 19:17:21 +0000
commit3fa73bfdb5183cb8077d43c3c219c3fd9e9a1b65 (patch)
treebf6fbca90173b8028db68a99f94c4400ad41d120 /tests/basic
parent8d4c5e022bba1b99786ce13f407c27024beccc23 (diff)
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 <amarts@redhat.com>
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic/rpc-coverage.sh2
1 files changed, 1 insertions, 1 deletions
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;