summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch
blob: 805da80d65d29e351356940ef0413ca3d045c42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From bac45996ece75900e0cde97f3889eaf6c1b286f8 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 23 Nov 2018 15:47:20 +0800
Subject: [PATCH] elfutils: 0.170 -> 0.172

Upstream-Status: Pending [from debian]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

---
 tests/run-native-test.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/run-native-test.sh b/tests/run-native-test.sh
index d19007f..5351e02 100755
--- a/tests/run-native-test.sh
+++ b/tests/run-native-test.sh
@@ -77,6 +77,12 @@ native_test()
   test $native -eq 0 || testrun "$@" -p $native > /dev/null
 }
 
+# On the Debian buildds, GNU/kFreeBSD linprocfs /proc/$PID/maps does
+# not give absolute paths due to sbuild's bind mounts (bug #570805)
+# therefore the next two test programs are expected to fail with
+# "cannot attach to process: Function not implemented".
+[ "$(uname)" = "GNU/kFreeBSD" ] && exit 77
+
 native_test ${abs_builddir}/allregs
 native_test ${abs_builddir}/funcretval
 
OpenPOWER on IntegriCloud