diff --git a/src/tests/Makefile b/src/tests/Makefile
index ef5719458679dbdc2f0283cd5e89fc2281942339..4af9c1ad3f9f2f79acf55b08c3da6d8324209c34 100644
--- a/src/tests/Makefile
+++ b/src/tests/Makefile
@@ -333,7 +333,7 @@ endif
 ABORTCODE=137
 %.abortrecover: %.tdb$(BINSUF) $(PTHREAD_LOCAL)
 ifeq ($(VGRIND),)
-	./$< --test >$<.check.output 2>&1; \
+	{ ./$< --test >$<.check.output 2>&1; } 2>/dev/null ;\
         if [ $$? -ne $(ABORTCODE) ] ; then \
 		test 0 = 1; \
         else \
@@ -341,7 +341,7 @@ ifeq ($(VGRIND),)
 	fi \
 	$(MAYBEINVERTER) $(SUMMARIZE_CMD)
 else
-	./$< --test >$<.check.output 2>&1; \
+	{ ./$< --test >$<.check.output 2>&1; } 2>/dev/null ;\
         if [ $$? -ne $(ABORTCODE) ] ; then \
 		cat $<.check.output; test 0 = 1; \
         else \