summaryrefslogtreecommitdiffstats
path: root/tests/nfs.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nfs.rc')
-rw-r--r--tests/nfs.rc5
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
+}