test: Allow duplicate lines for rawfbt synthetic tests
PATCH 1/1 test: Allow duplicate lines for rawfbt synthetic tests
From: Eugene Loh <[email protected]>
It is possible for the probe in these tests to fire "concurrently" on multiple CPUs, leading to duplicate lines of output. Add post processing to reduce multiple lines of duplicate output.
Signed-off-by Eugene Loh <[email protected]>
--- test/unittest/providers/rawfbt/tst.synthetic-entry.r.p | 3 +++ test/unittest/providers/rawfbt/tst.synthetic-return.r.p | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 test/unittest/providers/rawfbt/tst.synthetic-entry.r.p create mode 100755 test/unittest/providers/rawfbt/tst.synthetic-return.r.p
test/unittest/providers/rawfbt/tst.synthetic-entry.r.p new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +uniq
test/unittest/providers/rawfbt/tst.synthetic-return.r.p new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +uniq
Signature · 1 line
2.43.5
Quoted 7 lines · On Wed, Mar 19, 2025 at 01:42:25PM -0400, [email protected] wrote:
From: Eugene Loh <[email protected]>
It is possible for the probe in these tests to fire "concurrently" on multiple CPUs, leading to duplicate lines of output. Add post processing to reduce multiple lines of duplicate output.
Signed-off-by Eugene Loh <[email protected]>
Reviewed-by Kris Van Hees <[email protected]>
Quoted 28 lines
--- test/unittest/providers/rawfbt/tst.synthetic-entry.r.p | 3 +++ test/unittest/providers/rawfbt/tst.synthetic-return.r.p | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 test/unittest/providers/rawfbt/tst.synthetic-entry.r.p create mode 100755 test/unittest/providers/rawfbt/tst.synthetic-return.r.ptest/unittest/providers/rawfbt/tst.synthetic-entry.r.p new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +uniqtest/unittest/providers/rawfbt/tst.synthetic-return.r.p new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +uniqSignature · 1 line
2.43.5