[PATCH] tests: don't run test-update-atomic.t on chg

Pulkit Goyal 7895pulkit at gmail.com
Thu Mar 26 08:32:08 UTC 2020


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1585211491 -19800
#      Thu Mar 26 14:01:31 2020 +0530
# Node ID bcee199b03c3257cd720aecc62191f59e9326290
# Parent  62c6488a31b1af1a36edf04f7797bc54c7061671
tests: don't run test-update-atomic.t on chg

I am unable to find a good way to make `showwrites` extension in it to work with
chg. Also putting the use of showwrites inside `if no-chg` will defeat the
purpose of test, so I just made the test no-op on chg.

diff --git a/tests/test-update-atomic.t b/tests/test-update-atomic.t
--- a/tests/test-update-atomic.t
+++ b/tests/test-update-atomic.t
@@ -1,4 +1,4 @@
-#require execbit unix-permissions
+#require execbit unix-permissions no-chg
 
 Checking that experimental.atomic-file works.
 



More information about the Mercurial-devel mailing list