CLOUDSTACK-4225: Remove additional / in the nfs path

nfs://nfs-server://export/share ->
nfs://nfs-server:/export/share

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f056af8cbdd6bdfead0afbffbe2c10bb988ba385)
This commit is contained in:
Prasanna Santhanam 2013-08-21 13:01:40 +05:30
parent 69adeecc39
commit eeb53d52ee
3 changed files with 4 additions and 4 deletions

View File

@ -257,7 +257,7 @@ class TestAccountSnapshotClean(cloudstackTestCase):
cmds = [
"mkdir -p %s" % self.services["paths"]["mount_dir"],
"mount -t %s %s/%s %s" % (
"mount -t %s %s%s %s" % (
'nfs',
host,
path,

View File

@ -245,7 +245,7 @@ class TestSnapshotLimit(cloudstackTestCase):
cmds = [
"mkdir -p %s" % self.services["paths"]["mount_dir"],
"mount -t %s %s/%s %s" % (
"mount -t %s %s%s %s" % (
'nfs',
host,
path,

View File

@ -238,7 +238,7 @@ class TestSnapshots(cloudstackTestCase):
cmds = [
"mkdir -p %s" % self.services["paths"]["mount_dir"],
"mount -t %s %s/%s %s" % (
"mount -t %s %s%s %s" % (
'nfs',
host,
path,
@ -1043,7 +1043,7 @@ class TestCreateVMSnapshotTemplate(cloudstackTestCase):
cmds = [
"mkdir -p %s" % self.services["paths"]["mount_dir"],
"mount -t %s %s/%s %s" % (
"mount -t %s %s%s %s" % (
'nfs',
host,
path,