History log of /freebsd/cddl/usr.sbin/dtrace/tests/tools/dtest.sh (Results 1 – 7 of 7)
Revision Date Author Comments
# cb6b5e8a 01-Jun-2024 Mark Johnston <markj@FreeBSD.org>

dtrace tests: Fix loading of the test kernel module

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
erro

dtrace tests: Fix loading of the test kernel module

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

show more ...


# a61d2c7f 10-Jan-2024 Mark Johnston <markj@FreeBSD.org>

dtrace tests: Diff expected and actual output upon a miscompare

This makes quick diagnosis of test failures easier.

MFC after: 1 week


# e25922b3 09-Jan-2024 Mark Johnston <markj@FreeBSD.org>

dtrace tests: Run ksh with -p

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


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 288ebd81 25-Jul-2017 Li-Wen Hsu <lwhsu@FreeBSD.org>

The test case common.funcs.t_dtrace_contrib.tst_basename_d generates a
verifying script which needs being run to complete the test.

While here, add missing shebang.

Reviewed by: gnn, markj, ngie
Di

The test case common.funcs.t_dtrace_contrib.tst_basename_d generates a
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

show more ...


# 6b91eae9 07-Dec-2016 Mark Johnston <markj@FreeBSD.org>

Run DTrace test scripts with "tst" set to the test script file name.

MFC after: 1 week
Sponsored by: Dell EMC Isilon


# 41aeaf2a 30-Mar-2015 Mark Johnston <markj@FreeBSD.org>

Replace dtest.pl, the upstream DTrace test suite harness, with a shell
script. This reimplementation is much simpler than dtest.pl and is more
amenable to being run under Kyua - dtest.pl writes error

Replace dtest.pl, the upstream DTrace test suite harness, with a shell
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.

show more ...