[DTrace-devel] [PATCH] test: Reduce volume of test log output for link-idempotence

Eugene Loh eugene.loh at oracle.com
Thu Feb 22 21:03:01 UTC 2024


Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
(I never saw this in my inbox or any R-b, but i see it in the archive.)



Spare 100s to 1000s of lines of output in the normal, PASS case.

Inspired-by: Eugene Loh <eugene.loh at oracle.com>
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
---
  test/unittest/usdt/tst.link-idempotence.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unittest/usdt/tst.link-idempotence.sh 
b/test/unittest/usdt/tst.link-idempotence.sh
index 5d54e19d..8182215d 100755
--- a/test/unittest/usdt/tst.link-idempotence.sh
+++ b/test/unittest/usdt/tst.link-idempotence.sh
@@ -54,7 +54,7 @@ if [ $? -ne 0 ]; then
      exit 1
  fi
  ${CC} ${CFLAGS} -o test test.o prov.o
-DTRACE_DEBUG=t $dtrace -G -s prov.d test.o
+$dtrace -G -s prov.d test.o
  if [ $? -ne 0 ]; then
      echo "failed to regenerate DOF" >& 2
      exit 1




More information about the DTrace-devel mailing list