From 4ca0dfa6b0eaa09ad4c899ed3668a8bf0ddf36a8 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Tue, 25 Jul 2017 13:07:06 +0000 Subject: [PATCH] Explicitly set dynamic variable buffer size. We added too many variable assignments in BEGIN block, which will run out of default auto-configured variable buffer space. The test VM has 4G RAM which should be enough for most cases so it's reasonable to increase limitation to these case. Reviewed by: gnn Differential Revision: https://reviews.freebsd.org/D11676 --- .../opensolaris/cmd/dtrace/test/tst/common/funcs/tst.basename.d | 1 + 1 file changed, 1 insertion(+) diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.basename.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.basename.d index 6fb996c96181..d417801f58ed 100644 --- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.basename.d +++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.basename.d @@ -27,6 +27,7 @@ #pragma ident "%Z%%M% %I% %E% SMI" #pragma D option quiet +#pragma D option dynvarsize=2m /* * This test verifies that the basename() and dirname() functions are working