summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/cases/glibc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/glibc.py b/meta/lib/oeqa/selftest/cases/glibc.py
index c300aef913..924df6c5a6 100644
--- a/meta/lib/oeqa/selftest/cases/glibc.py
+++ b/meta/lib/oeqa/selftest/cases/glibc.py
@@ -45,7 +45,7 @@ class GlibcSelfTestBase(OESelftestTestCase, OEPTestResultTestCase):
45 with contextlib.ExitStack() as s: 45 with contextlib.ExitStack() as s:
46 # use the base work dir, as the nfs mount, since the recipe directory may not exist 46 # use the base work dir, as the nfs mount, since the recipe directory may not exist
47 tmpdir = get_bb_var("BASE_WORKDIR") 47 tmpdir = get_bb_var("BASE_WORKDIR")
48 nfsport, mountport = s.enter_context(unfs_server(tmpdir)) 48 nfsport, mountport = s.enter_context(unfs_server(tmpdir, udp = False))
49 49
50 # build core-image-minimal with required packages 50 # build core-image-minimal with required packages
51 default_installed_packages = [ 51 default_installed_packages = [
@@ -74,7 +74,7 @@ class GlibcSelfTestBase(OESelftestTestCase, OEPTestResultTestCase):
74 # setup nfs mount 74 # setup nfs mount
75 if qemu.run("mkdir -p \"{0}\"".format(tmpdir))[0] != 0: 75 if qemu.run("mkdir -p \"{0}\"".format(tmpdir))[0] != 0:
76 raise Exception("Failed to setup NFS mount directory on target") 76 raise Exception("Failed to setup NFS mount directory on target")
77 mountcmd = "mount -o noac,nfsvers=3,port={0},udp,mountport={1} \"{2}:{3}\" \"{3}\"".format(nfsport, mountport, qemu.server_ip, tmpdir) 77 mountcmd = "mount -o noac,nfsvers=3,port={0},mountport={1} \"{2}:{3}\" \"{3}\"".format(nfsport, mountport, qemu.server_ip, tmpdir)
78 status, output = qemu.run(mountcmd) 78 status, output = qemu.run(mountcmd)
79 if status != 0: 79 if status != 0:
80 raise Exception("Failed to setup NFS mount on target ({})".format(repr(output))) 80 raise Exception("Failed to setup NFS mount on target ({})".format(repr(output)))