Skip to content

Commit

Permalink
test: Clean up bad-cast test
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
  • Loading branch information
euloh authored and kvanhees committed Sep 11, 2023
1 parent 540739e commit 8fcffe8
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions test/unittest/types/err.D_CAST_INVAL.badcast.d
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit 8fcffe8

Please sign in to comment.