Patchwork tests: don't run test-update-atomic.t on chg

login
register
mail settings
Submitter Pulkit Goyal
Date March 26, 2020, 8:32 a.m.
Message ID <bcee199b03c3257cd720.1585211528@workspace>
Download mbox | patch
Permalink /patch/45904/
State Accepted
Headers show

Comments

Pulkit Goyal - March 26, 2020, 8:32 a.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@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.
Yuya Nishihara - March 26, 2020, 11:35 a.m.
On Thu, 26 Mar 2020 14:02:08 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit@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

Queued, thanks.

Patch

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.