summaryrefslogtreecommitdiffstats
path: root/tests/afr.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/afr.rc')
-rw-r--r--tests/afr.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/afr.rc b/tests/afr.rc
index 938f9c07ab2..721f24545d5 100644
--- a/tests/afr.rc
+++ b/tests/afr.rc
@@ -74,9 +74,9 @@ function is_file_heal_done {
function count_sh_entries()
{
val1=0
- for g in `ls $1/.glusterfs/indices/xattrop`
+ for g in $(ls $1/.glusterfs/indices/xattrop)
do
- val1=$(( val1 + 1 ))
+ val1=$(( val1 + 1 ))
done
echo $val1;