kfreebsd_path
authorKurt Roeckx <kurt@roeckx.be>
Tue, 28 May 2019 18:53:12 +0000 (19:53 +0100)
committerKarsten Merker <merker@debian.org>
Tue, 28 May 2019 18:53:12 +0000 (19:53 +0100)
===================================================================

Gbp-Pq: Name kfreebsd_path.patch

tests/run-native-test.sh

index d19007f2ff04e173dd7b69db0499874ad59a6307..5351e0267f41ca841999ab644551895cb4179792 100755 (executable)
@@ -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