Skip to content

Commit

Permalink
tests: fix two more trivially passing tests
Browse files Browse the repository at this point in the history
These tests just need results regenerating to account for tiny spacing
changes.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
  • Loading branch information
nickalcock authored and kvanhees committed Sep 29, 2021
1 parent 8359ab8 commit f1d8646
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 26 deletions.
3 changes: 1 addition & 2 deletions test/demo/intro/countdown.d
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/*
* Oracle Linux DTrace.
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2021, 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 */
/* @@trigger: none */

dtrace:::BEGIN
Expand Down
20 changes: 10 additions & 10 deletions test/demo/intro/countdown.r
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FUNCTION:NAME
:tick-1sec 10
:tick-1sec 9
:tick-1sec 8
:tick-1sec 7
:tick-1sec 6
:tick-1sec 5
:tick-1sec 4
:tick-1sec 3
:tick-1sec 2
:tick-1sec 1
:tick-1sec 10
:tick-1sec 9
:tick-1sec 8
:tick-1sec 7
:tick-1sec 6
:tick-1sec 5
:tick-1sec 4
:tick-1sec 3
:tick-1sec 2
:tick-1sec 1
:tick-1sec blastoff!

-- @@stderr --
Expand Down
3 changes: 1 addition & 2 deletions test/demo/intro/counter.d
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/*
* Oracle Linux DTrace.
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2021, 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 */
/* @@trigger: none */
/* @@timeout: 12 */

Expand Down
24 changes: 12 additions & 12 deletions test/demo/intro/counter.r
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FUNCTION:NAME
:tick-1sec 1
:tick-1sec 2
:tick-1sec 3
:tick-1sec 4
:tick-1sec 5
:tick-1sec 6
:tick-1sec 7
:tick-1sec 8
:tick-1sec 9
:tick-1sec 10
:tick-1sec 11
:tick-1sec 1
:tick-1sec 2
:tick-1sec 3
:tick-1sec 4
:tick-1sec 5
:tick-1sec 6
:tick-1sec 7
:tick-1sec 8
:tick-1sec 9
:tick-1sec 10
:tick-1sec 11
:tick-1sec
:END 11
:END 11

-- @@stderr --
dtrace: script 'test/demo/intro/counter.d' matched 4 probes

0 comments on commit f1d8646

Please sign in to comment.