From: eugene.loh@oracle.com
To: dtrace@lists.linux.dev, dtrace-devel@oss.oracle.com
Subject: [PATCH] test: Remove duplicated check
Date: Mon, 4 Nov 2024 14:23:54 -0500 [thread overview]
Message-ID: <20241104192354.27566-1-eugene.loh@oracle.com> (raw)
From: Eugene Loh <eugene.loh@oracle.com>
Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
---
test/unittest/usdt/tst.pidprobes.sh | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/test/unittest/usdt/tst.pidprobes.sh b/test/unittest/usdt/tst.pidprobes.sh
index 8d18c89a4..25fee8553 100755
--- a/test/unittest/usdt/tst.pidprobes.sh
+++ b/test/unittest/usdt/tst.pidprobes.sh
@@ -99,15 +99,6 @@ if [ $? -ne 0 ]; then
cat dtrace.out
exit 1
fi
-echo "my result: 10" > main.out2.expected
-if ! diff -q main.out2 main.out2.expected > /dev/null; then
- echo '"my result"' looks wrong when using DTrace
- echo === got ===
- cat main.out2
- echo === expected ===
- cat main.out2.expected
- exit 1
-fi
# Check that the program output is 10 when the USDT probe is enabled.
# That is, the PYRAMID_ENTRY_ENABLED() is-enabled checks should pass.
@@ -115,7 +106,7 @@ fi
echo "my result: 10" > main.out2.expected
if ! diff -q main.out2 main.out2.expected > /dev/null; then
- echo '"my result"' looks wrong
+ echo '"my result"' looks wrong when using DTrace
echo === got ===
cat main.out2
echo === expected ===
--
2.43.5
next reply other threads:[~2024-11-04 19:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 19:23 eugene.loh [this message]
2024-11-05 19:29 ` [PATCH] test: Remove duplicated check Kris Van Hees
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241104192354.27566-1-eugene.loh@oracle.com \
--to=eugene.loh@oracle.com \
--cc=dtrace-devel@oss.oracle.com \
--cc=dtrace@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox