Skip to content

Commit 8fcffe8

Browse files
eulohkvanhees
authored andcommitted
test: Clean up bad-cast test
Signed-off-by: Eugene Loh <[email protected]> Reviewed-by: Kris Van Hees <[email protected]>
1 parent 540739e commit 8fcffe8

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed
Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
/*
22
* Oracle Linux DTrace.
3-
* Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
3+
* Copyright (c) 2006, 2022, Oracle and/or its affiliates. All rights reserved.
44
* Licensed under the Universal Permissive License v 1.0 as shown at
55
* http://oss.oracle.com/licenses/upl.
66
*/
77

8-
98
/*
10-
* ASSERTION:
11-
* Test an illegal cast - make sure dtrace catches it.
12-
*
13-
* SECTION: Aggregations/Clearing aggregations
14-
*
15-
*
9+
* ASSERTION: Test an illegal cast - make sure dtrace catches it.
1610
*/
1711

18-
1912
BEGIN
2013
{
2114
(struct task_struct)trace(`max_pfn);
22-
exit();
15+
exit(0);
2316
}

0 commit comments

Comments
 (0)