Skip to content

Commit

Permalink
test: Fix error tag in test name
Browse files Browse the repository at this point in the history
A number of err.D_*.d tests had the wrong error tag in the test
name, which escaped detection for a long time because runtest.sh
did not check the error tags.  A number of such cases were fixed.
This appears to be the last case.  The test encounters D_SYNTAX,
both in legacy DTrace on Linux and in the current version.  Rename
the test appropriately.

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 Apr 22, 2022
1 parent 160341a commit 0cccfc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* Oracle Linux DTrace.
* Copyright (c) 2006, 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.
*/
/* @@xfail: dtv2 */

/*
* ASSERTION:
*
Expand Down
2 changes: 2 additions & 0 deletions test/unittest/offsetof/err.D_SYNTAX.badmemb.r
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- @@stderr --
dtrace: failed to compile script test/unittest/offsetof/err.D_SYNTAX.badmemb.d: [D_SYNTAX] line 22: syntax error near "vnode_t, v_no_such_member));"
2 changes: 0 additions & 2 deletions test/unittest/offsetof/err.D_UNKNOWN.badmemb.r

This file was deleted.

0 comments on commit 0cccfc6

Please sign in to comment.