test-tx-rollback: more lenient glob for kill status (issue6807) stable
authorpacien <pacien.trangirard@pacien.net>
Wed, 05 Apr 2023 11:58:25 +0200
branchstable
changeset 50334 2231f7d8a602
parent 50333 80784ac09460
child 50335 787e7caf887a
test-tx-rollback: more lenient glob for kill status (issue6807) The "killed" message may have some prefix and/or suffix which differ depending on the platform. This makes the pinned test output more lenient to accept those.
tests/test-transaction-rollback-on-revlog-split.t
--- a/tests/test-transaction-rollback-on-revlog-split.t	Mon Mar 27 06:24:44 2023 +0200
+++ b/tests/test-transaction-rollback-on-revlog-split.t	Wed Apr 05 11:58:25 2023 +0200
@@ -130,7 +130,7 @@
 #else
   $ hg pull ../troffset-computation
   pulling from ../troffset-computation
-  Killed
+  *Killed* (glob)
   [137]
 #endif
 
@@ -210,7 +210,7 @@
   adding changesets
   adding manifests
   adding file changes
-  Killed
+  *Killed* (glob)
   [137]
 #endif
 
@@ -275,7 +275,7 @@
   adding changesets
   adding manifests
   adding file changes
-  Killed
+  *Killed* (glob)
   [137]
 #endif