Skip to contentSkip to conversation

test: Allow duplicate lines for rawfbt synthetic tests

PATCH In review [email protected] 2 participants 2 messages Mar 19, 2025

lore
Share & tools
lore
#0 lore raw

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.

---
 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
new file mode 100755
index 000000000..18171f044
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+uniq
test/unittest/providers/rawfbt/tst.synthetic-return.r.p new file +3 -0
new file mode 100755
index 000000000..18171f044
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+uniq
Signature · 1 line
2.43.5
Reviewed-by on v1 1/1
#1 lore raw
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.

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.p
test/unittest/providers/rawfbt/tst.synthetic-entry.r.p new file +3 -0
new file mode 100755
index 000000000..18171f044
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+uniq
test/unittest/providers/rawfbt/tst.synthetic-return.r.p new file +3 -0
new file mode 100755
index 000000000..18171f044
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+uniq
Signature · 1 line
2.43.5