[applied] test-abicompat: Fix color setting

Message ID 87ikl0pldr.fsf@redhat.com
State New
Headers
Series [applied] test-abicompat: Fix color setting |

Commit Message

Dodji Seketeli June 12, 2025, 11:53 p.m. UTC
  Hello,

	* tests/test-abicompat.cc (main): Set the terminal default back.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to the mainline
---
 tests/test-abicompat.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
  

Patch

diff --git a/tests/test-abicompat.cc b/tests/test-abicompat.cc
index 7dceb892..051cfba4 100644
--- a/tests/test-abicompat.cc
+++ b/tests/test-abicompat.cc
@@ -413,7 +413,10 @@  main()
                << std::endl;
 	  if (status != s->status)
 	    cout << BRIGHT_RED_COLOR
-		 << "expected abicompat exit code: " << s->status << ", got: " << status << std::endl;
+		 << "expected abicompat exit code: " << s->status
+		 << ", got: " << status
+		 << std::endl
+		 << DEFAULT_TERMINAL_COLOR;
 	  cnt_failed++;
 	}
       cnt_total++;