diff options
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index e488aa73b1c..f3dbaf4a7f2 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -659,3 +659,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 +} |