[DTrace-devel] [PATCH] test: Clean up bad-cast test
eugene.loh at oracle.com
eugene.loh at oracle.com
Wed Jul 27 04:56:48 UTC 2022
From: Eugene Loh <eugene.loh at oracle.com>
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
test/unittest/types/err.D_CAST_INVAL.badcast.d | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/test/unittest/types/err.D_CAST_INVAL.badcast.d b/test/unittest/types/err.D_CAST_INVAL.badcast.d
index 8daec8b1..179fc47d 100644
--- a/test/unittest/types/err.D_CAST_INVAL.badcast.d
+++ b/test/unittest/types/err.D_CAST_INVAL.badcast.d
@@ -1,23 +1,16 @@
/*
* Oracle Linux DTrace.
- * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2022, 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.
*/
-
/*
- * ASSERTION:
- * Test an illegal cast - make sure dtrace catches it.
- *
- * SECTION: Aggregations/Clearing aggregations
- *
- *
+ * ASSERTION: Test an illegal cast - make sure dtrace catches it.
*/
-
BEGIN
{
(struct task_struct)trace(`max_pfn);
- exit();
+ exit(0);
}
--
2.18.4
More information about the DTrace-devel
mailing list