From a45bef14b370fe82d4f3af41a35d2802a359c287 Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Thu, 26 May 2016 08:25:37 +0530 Subject: tests: Add more tests for granular entry self-heal feature Change-Id: I6f14e413c538e392c8ee5bf4bf9f283e8ac792b7 BUG: 1332566 Signed-off-by: Krutika Dhananjay Reviewed-on: http://review.gluster.org/14542 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Ravishankar N Smoke: Gluster Build System Reviewed-by: Pranith Kumar Karampuri --- tests/volume.rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/volume.rc') diff --git a/tests/volume.rc b/tests/volume.rc index f46f8a19e62..6ff25cc79a3 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -677,3 +677,8 @@ function get_gfid_string { function file_all_zeroes { < $1 tr -d '\0' | read -n 1 || echo 1 } + +function get_hard_link_count { + local path=$1; + stat -c %h $path +} -- cgit