summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.basics.d
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-09 22:04:56 +0000
committerngie <ngie@FreeBSD.org>2017-02-09 22:04:56 +0000
commit26a774214d8d03cd6f66b1ba20979ab10fc4bbcd (patch)
tree87397701fa47732bebaae41c50aad9c51eefc757 /cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.basics.d
parent3fdc68df60c69521e878b8de562f6cb6d1b4eb5d (diff)
downloadFreeBSD-src-26a774214d8d03cd6f66b1ba20979ab10fc4bbcd.zip
FreeBSD-src-26a774214d8d03cd6f66b1ba20979ab10fc4bbcd.tar.gz
MFC r258903,r264487,r271699,r288415:
r258903 (by markj): Enable some previously-disabled DTrace tests for umod, ufunc and usym. They expect the installed ksh binary to be named "ksh", which is not the case when it's installed on FreeBSD via the shells/ksh93 port. Allow for it to be "ksh93" as well so that the tests can actually pass. r264487 (by markj): Replace a few Solarisisms with their corresponding FreeBSDisms to make a few printf tests pass. r271699 (by markj): Implement a workaround to allow this test program to be compiled with clang. It seems that if a pragma is used to define a weak alias for a local function, the pragma must appear after the function is defined. PR: 193056 r288415 (by markj): MFV r288408: 6266 harden dtrace_difo_chunksize() with respect to malicious DIF illumos/illumos-gate@395c7a3dcfc66b8b671dc4b3c4a2f0ca26449922 Author: Bryan Cantrill <bryan@joyent.com>
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.basics.d')
-rw-r--r--cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.basics.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.basics.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.basics.d
index 8d4bb81..10dc61d 100644
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.basics.d
+++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printf/tst.basics.d
@@ -44,7 +44,7 @@ BEGIN
printf("\n");
- printf("%%a = %a\n", &`kmem_alloc);
+ printf("%%a = %a\n", &`malloc);
printf("%%c = %c\n", i);
printf("%%d = %d\n", i);
printf("%%hd = %hd\n", (short)i);
OpenPOWER on IntegriCloud