[DTrace-devel] [PATCH 6/7] test: rm drp.DTRACEDROP_STKSTROVERFLOW.d as it tests for error not generated
eugene.loh at oracle.com
eugene.loh at oracle.com
Fri Aug 14 10:43:23 PDT 2020
From: Eugene Loh <eugene.loh at oracle.com>
This test checks for an error not generated.
The idea was to check the string space that could overflow while getting
strings using the helper.
Removing test as not applicable.
Signed-off-by: David Mc Lean <david.mclean at oracle.com>
Reviewed-by; Kris Van Hees <kris.van.hees at oracle.com>
---
.../drops/drp.DTRACEDROP_STKSTROVERFLOW.d | 34 -------------------
1 file changed, 34 deletions(-)
delete mode 100644 test/unittest/drops/drp.DTRACEDROP_STKSTROVERFLOW.d
diff --git a/test/unittest/drops/drp.DTRACEDROP_STKSTROVERFLOW.d b/test/unittest/drops/drp.DTRACEDROP_STKSTROVERFLOW.d
deleted file mode 100644
index a185b23f..00000000
--- a/test/unittest/drops/drp.DTRACEDROP_STKSTROVERFLOW.d
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Oracle Linux DTrace.
- * Copyright (c) 2006, 2020, Oracle and/or its affiliates. All rights reserved.
- * Licensed under the Universal Permissive License v 1.0 as shown at
- * http://oss.oracle.com/licenses/upl.
- */
-/* @@xfail: dtv2 */
-
-#pragma D option destructive
-#pragma D option jstackstrsize=1
-#pragma D option quiet
-
-BEGIN
-{
- system("java -version");
-}
-
-syscall:::entry
-/progenyof($pid)/
-{
- @[jstack()] = count();
-}
-
-proc:::exit
-/progenyof($pid) && execname == "java"/
-{
- exit(0);
-}
-
-END
-{
- printa("\r", @);
- printf("\n");
-}
--
2.18.4
More information about the DTrace-devel
mailing list