path: root/cddl/usr.sbin
diff options
authorMark Johnston <markj@FreeBSD.org>2017-11-22 15:54:52 +0000
committerMark Johnston <markj@FreeBSD.org>2017-11-22 15:54:52 +0000
commit483f7100b4877949bd89a97a57aa86b6adec724c (patch)
tree166146db54c5781cfdc837dcdc7308c308803548 /cddl/usr.sbin
parent20d40a56cb26a334cfd484cb083ab2c2cae3b628 (diff)
Annotate pragma/err.invalidlibdep.ksh as EXFAIL.
The test creates a D library with a "depends_on library" pragma referencing a non-existent library, and expects compilation to fail. However, as far as I can tell, libdtrace is supposed simply abort compilation of the library in this case, and continue. This behaviour is desirable when adding libraries which depend on optional KLDs, for example. MFC after: 1 week
Notes: svn path=/head/; revision=326096
Diffstat (limited to 'cddl/usr.sbin')
1 files changed, 5 insertions, 0 deletions
diff --git a/cddl/usr.sbin/dtrace/tests/tools/exclude.sh b/cddl/usr.sbin/dtrace/tests/tools/exclude.sh
index b1c90ed14ec1..ed88a17917ef 100755
--- a/cddl/usr.sbin/dtrace/tests/tools/exclude.sh
+++ b/cddl/usr.sbin/dtrace/tests/tools/exclude.sh
@@ -139,6 +139,11 @@ exclude EXFAIL common/pid/tst.newprobes.ksh
exclude EXFAIL common/pid/tst.provregex2.ksh
exclude EXFAIL common/pid/tst.provregex4.ksh
+# This test appears to be invalid. dtrace is supposed to press on if a
+# depends_on pragma cannot be satisfied, per the comment above
+# dt_load_libs_dir() in libdtrace.
+exclude EXFAIL common/pragma/err.invalidlibdep.ksh
# This test checks for a leading tab on a line before #define. That is illegal
# on Solaris, but the clang pre-processor on FreeBSD is happy with code like
# that.