path: root/cddl/usr.sbin/dtrace/tests/tools/exclude.sh
Commit message (Collapse)AuthorAgeFilesLines
* Enable creation of static userspace probes in incremental builds.Mark Johnston2020-08-201-4/+0
| | | | | | | | | | | | | | | | | | To define USDT probes, dtrace -G makes use of relocations for undefined symbols: the target address is overwritten with NOPs and the location is recorded in the DOF section of the output object file. To avoid link errors, the original relocation is destroyed. However, this means that the same input object file cannot be processed multiple times, as happens during incremental rebuilds. Instead, only set the relocation type to NONE, so that all information required to reconstruct USDT probes is preserved. Reported by: bdrewery MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=364438
* dtrace tests: Support globbing for excludesBryan Drewery2020-04-291-1/+16
| | | | | | | | | | | Downstream this makes skipping tests like common/ip/tst.*sctp*.ksh simpler. Reviewed by: vangyzen, cem, markj Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D24608 Notes: svn path=/head/; revision=360476
* Add support for send, receive and state-change DTrace providers forMichael Tuexen2018-08-221-0/+2
| | | | | | | | | | | | SCTP. They are based on what is specified in the Solaris DTrace manual for Solaris 11.4. Reviewed by: 0mp, dteske, markj Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16839 Notes: svn path=/head/; revision=338213
* Add a dtrace provider for UDP-Lite.Michael Tuexen2018-07-311-0/+1
| | | | | | | | | | | | | | The dtrace provider for UDP-Lite is modeled after the UDP provider. This fixes the bug that UDP-Lite packets were triggering the UDP provider. Thanks to dteske@ for providing the dwatch module. Reviewed by: dteske@, markj@, rrs@ Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16377 Notes: svn path=/head/; revision=337018
* Improve TCP related tests for dtrace.Michael Tuexen2018-07-221-3/+0
| | | | | | | | | | | | | | Ensure that the TCP connections are terminated gracefully as expected by the test. Use appropriate numbers for sent/received packets. In addition, enable tst.localtcpstate.ksh, which should pass, but doesn't until https://reviews.freebsd.org/D16369 is committed. Reviewed by: markj@ Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D16288 Notes: svn path=/head/; revision=336597
* Fix the UDP tests for dtrace.Michael Tuexen2018-07-151-1/+0
| | | | | | | | | | | | | | | | | The code imported from opensolaris was depending on ping supporting UDP for sending probes. Since this is not supported by ping on FreeBSD use a perl script instead. The remote test requires the usage of ksh93, so state that in the sheband. Enable the local test, but keep the remote test disabled, since it requires a remote machine on the LAN. Reviewed by: markj@, gnn@ Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D16268 Notes: svn path=/head/; revision=336315
* Remove tst.zonename.d from the list of expected failures.Mark Johnston2018-01-141-1/+0
| | | | | | | X-MFC with: r327888 Notes: svn path=/head/; revision=327973
* Mark uctf/err.user64mode.ksh as EXFAIL for now.Mark Johnston2017-12-151-0/+3
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=326878
* Annotate pragma/err.invalidlibdep.ksh as EXFAIL.Mark Johnston2017-11-221-0/+5
| | | | | | | | | | | | | | 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
* Annotate usdt/tst.eliminate.ksh as EXFAIL.Mark Johnston2017-11-211-0/+3
| | | | | | | | | It appears to depend on some behaviour specific to the Sun link editor. MFC after: 1 week Notes: svn path=/head/; revision=326063
* Remove the EXFAIL annotation for tests which pass as of r309596.Mark Johnston2017-05-191-5/+0
| | | | | | | | Reported by: bdrewery Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=318508
* Skip a ustack test that triggers an assertion on INVARIANTS kernels.Mark Johnston2016-12-141-0/+3
| | | | | | | | | Reported by: ngie Sponsored by: Dell EMC Isilon X-MFC-With: r309698 Notes: svn path=/head/; revision=310085
* err.D_PROC_CREATEFAIL.many.d passes, so remove the EFAIL annotation.Mark Johnston2016-12-081-3/+0
| | | | | | | | MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=309718
* tst.kpriv.ksh fails because DTrace privilege levels are unimplemented.Mark Johnston2016-10-161-0/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=307400
* dtraceUtil/tst.DataModel32.d.ksh passes on amd64.Mark Johnston2016-08-151-1/+0
| | | | Notes: svn path=/head/; revision=304183
* Fix a typo that snuck in with r283024, and remove the EXFAIL annotation fromMark Johnston2015-05-171-1/+0
| | | | | | | a test which now passes as a result of that change. Notes: svn path=/head/; revision=283039
* Add infrastructure to integrate the DTrace test suite with Kyua.Mark Johnston2015-02-281-0/+194
For each test category, we generate a script containing ATF test cases for the tests under that category. Each test case simply runs dtest.pl (the upstream test harness) with the corresponding test files. The exclude.sh script is used to record info about tests which should be skipped or are expected to fail; it is used to generate atf_skip and atf_expect_fail calls. The genmakefiles.sh script can be used to regenerate the test makefiles when new tests are brought it from upstream. The test suite is currently not connected to the build as there is a small number of lingering test issues which still need to be worked out. In the meantime however, the test suite can be easily built and installed manually from cddl/usr.sbin/dtrace/tests. Reviewed by: ngie Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=279418