diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index cc293fef9c2fb9fd7753cf7e09d3db3a99f7207b..5fa7e4600368f0738a215683b80d416eda67c352 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -1243,7 +1243,9 @@ void tst_Dumpers::dumper_data()
                     "ba += 2;\n")
                % CoreProfile()
                % Check("ba", QByteArray("\"Hello\"World")
-                       + char(0) + char(1) + char(2) + '"', "@QByteArray")
+                       + char(0) + char(1) + char(2) + '"', "@QByteArray").setEngines(
+                   DumpTestGdbEngine | DumpTestLldbEngine)
+               % Check("ba", QByteArray("\"Hello\"World...\""), "@QByteArray").setForCdbOnly()
                % Check("ba.0", "[0]", "72", "char")
                % Check("ba.11", "[11]", "0", "char")
                % Check("ba.12", "[12]", "1", "char")