summaryrefslogtreecommitdiffstats
path: root/tests/nfs.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nfs.rc')
-rw-r--r--tests/nfs.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/nfs.rc b/tests/nfs.rc
index e35b6852284..4b4a55e19e9 100644
--- a/tests/nfs.rc
+++ b/tests/nfs.rc
@@ -26,3 +26,9 @@ 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
+}