--- a/tests/test-rhg.t Tue Nov 24 18:52:38 2020 +0100
+++ b/tests/test-rhg.t Wed Nov 25 12:33:37 2020 +0100
@@ -140,3 +140,8 @@
sparserevlog
store
indoor-pool
+
+ $ echo -e '\xFF' >> .hg/requires
+ $ rhg debugrequirements
+ abort: .hg/requires is corrupted
+ [255]