diff options
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index 75e244f3cc4..5ba637dee54 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -511,3 +511,16 @@ function cleanup_georep { $CLI volume geo-rep $GMV0 $H0::$GSV0 delete } + +function get_aux() +{ +##Check if a auxiliary mount is there +df -h 2>&1 | grep "/var/run/gluster/$V0" - + +if [ $? -eq 0 ] +then + echo "0" +else + echo "1" +fi +} |