diff options
Diffstat (limited to 'tests/nfs.rc')
-rw-r--r-- | tests/nfs.rc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/nfs.rc b/tests/nfs.rc index f3abee84280..e35b6852284 100644 --- a/tests/nfs.rc +++ b/tests/nfs.rc @@ -18,4 +18,11 @@ function is_nfs_export_available () echo "$exp" } - +function mount_nfs () +{ + local e=$1 + local m=$2 + local opt=$3 + if [ ! -z "$opt" ]; then opt=",$opt"; fi + mount -t nfs -o soft,intr,vers=3"$opt" $e $m +} |