| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
The old way is racy and can cause two instances, running in parallel, to
attempt to load dtrace_test, and only one will succeed. This caused
errors when running dtrace tests in parallel.
MFC after: 1 week
|
| |
|
|
|
|
| |
This makes quick diagnosis of test failures easier.
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
In particular, avoid loading the user's .profile file, since that can
have undesirable side effects. Most tests were already careful to do
this.
MFC after: 1 week
|
| |
|
|
|
|
|
| |
$FreeBSD$ is gone in head, so this should be removed as well.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D41595
|
| |
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| |
|
|
|
| |
PR: 237641
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
| |
This is for marking a test case is flakey and should not be executed in
the CI environment.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34635
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Create two tests checking if we can read urgs registers and if the
rax register returns a correct number.
Reviewed by: markj
Discussed with: lwhsu
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20364
Notes:
svn path=/head/; revision=348706
|
| |
|
|
|
|
|
|
| |
MFC after: 1 week
Event: Waterloo Hackathon 2019
Notes:
svn path=/head/; revision=348080
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
X-MFC with: r327888
Notes:
svn path=/head/; revision=327973
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=326878
|
| |
|
|
|
|
|
|
|
| |
We can't link an executable using -m32 until the lib32 phase of a
buildworld, though the build works fine when executing make from
cddl/usr.sbin/dtrace/tests. Some other solution will need to be found.
Notes:
svn path=/head/; revision=326285
|
| |
|
|
|
|
|
|
|
| |
The err.user64mode.ksh test expects it to run as a 32-bit process.
MFC after: 1 week
Notes:
svn path=/head/; revision=326181
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
It appears to depend on some behaviour specific to the Sun link editor.
MFC after: 1 week
Notes:
svn path=/head/; revision=326063
|
| |
|
|
|
|
|
|
|
|
|
|
| |
verifying script which needs being run to complete the test.
While here, add missing shebang.
Reviewed by: gnn, markj, ngie
Differential Revision: https://reviews.freebsd.org/D11716
Notes:
svn path=/head/; revision=321472
|
| |
|
|
|
|
|
|
| |
Reported by: avg
MFC after: 1 week
Notes:
svn path=/head/; revision=319792
|
| |
|
|
|
|
|
|
| |
Reported by: bdrewery
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=318508
|
| |
|
|
|
|
|
|
|
| |
Reported by: ngie
Sponsored by: Dell EMC Isilon
X-MFC-With: r309698
Notes:
svn path=/head/; revision=310085
|
| |
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=309718
|
| |
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=309698
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=307400
|
| |
|
|
| |
Notes:
svn path=/head/; revision=304183
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both test suites require more memory than my amd64 VM using
GENERIC-NODEBUG can provide and reliably panic it with OOM issues in
dtrace(4).
Some of the testcases fail, but this at least bypasses the panic behavior
on platforms that don't have enough resources
MFC after: 2 weeks
Discussed with: markj
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=303900
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after r298107
Summary of changes:
- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that
namespacing is kept with FILES appropriately, and that this shouldn't need
to be repeated if the namespace changes -- only the definition of PACKAGE
needs to be changed
- Allow PACKAGE to be overridden by callers instead of forcing it to always be
`tests`. In the event we get to the point where things can be split up
enough in the base system, it would make more sense to group the tests
with the blocks they're a part of, e.g. byacc with byacc-tests, etc
- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used
previously.
- Remove unnecessary TESTSPACKAGE definitions; this has been elided into
bsd.tests.mk
- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES;
${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.
- Fix installation of files under data/ subdirectories in lib/libc/tests/hash
and lib/libc/tests/net/getaddrinfo
- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)
Document the proposed changes in share/examples/tests/tests/... via examples
so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of
replacing FILES. share/mk/bsd.README didn't seem like the appropriate method
of communicating that info.
MFC after: never probably
X-MFC with: r298107
PR: 209114
Relnotes: yes
Tested with: buildworld, installworld, checkworld; buildworld, packageworld
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=299094
|
| |
|
|
|
|
|
| |
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=291738
|
| |
|
|
|
|
|
|
|
|
| |
Makefile.inc1.
Discussed with: ngie, markj
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=291332
|
| |
|
|
|
|
|
| |
a test which now passes as a result of that change.
Notes:
svn path=/head/; revision=283039
|
| |
|
|
|
|
|
|
|
|
|
| |
script. This reimplementation is much simpler than dtest.pl and is more
amenable to being run under Kyua - dtest.pl writes error output to a
temporary directory that is deleted when the run finishes, making it hard
to debug test failures. This change also removes the test suite's dependency
on perl.
Notes:
svn path=/head/; revision=280835
|
|
|
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
|