diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2014-11-13 07:03:54 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2014-12-10 10:10:11 -0800 |
commit | a86be91a2ae01fc79539dece6a67d1845badba35 (patch) | |
tree | e095c3398ccd505db433c01190fe00f47643e95e /tests/nfs.rc | |
parent | 54d2cbc033dadcd017376584b70af5849146ee4f (diff) |
tests: spurious failures fix for quota-anon-fd-nfs.t
Change-Id: I4f7ee68c514d8d322e25cf74167f288a8b6f8164
BUG: 1165938
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/9108
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/9148
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'tests/nfs.rc')
-rw-r--r-- | tests/nfs.rc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/nfs.rc b/tests/nfs.rc index c27452395e1..5ca35af8a85 100644 --- a/tests/nfs.rc +++ b/tests/nfs.rc @@ -25,3 +25,8 @@ function mount_nfs () if [ ! -z "$opt" ]; then opt=",$opt"; fi mount -t nfs -o soft,intr,vers=3"$opt" $e $m } + +function umount_nfs { + umount -f $1 + if [ $? -eq 0 ]; then echo "Y"; else echo "N"; fi +} |