# HG changeset patch # User Matt Harbison # Date 2017-04-06 03:44:22 # Node ID d34316ae5c58ce1d0342e2c671c79ee044521151 # Parent 4eec2f04a672a9d53d305e885f762093b805e486 tests: add per-line output conditionals for Windows diff --git a/tests/test-clone.t b/tests/test-clone.t --- a/tests/test-clone.t +++ b/tests/test-clone.t @@ -31,10 +31,10 @@ Trigger branchcache creation: default 10:a7949464abda $ ls .hg/cache branch2-served - checkisexec - checklink - checklink-target - checknoexec + checkisexec (execbit !) + checklink (symlink !) + checklink-target (symlink !) + checknoexec (execbit !) rbc-names-v1 rbc-revs-v1 @@ -49,9 +49,9 @@ Ensure branchcache got copied over: $ ls .hg/cache branch2-served - checkisexec - checklink - checklink-target + checkisexec (execbit !) + checklink (symlink !) + checklink-target (symlink !) $ cat a a diff --git a/tests/test-fileset.t b/tests/test-fileset.t --- a/tests/test-fileset.t +++ b/tests/test-fileset.t @@ -441,10 +441,10 @@ small reminder of the repository state M b2 A 1k A 2k - A b2link + A b2link (no-windows !) A bin A c1 - A con.xml + A con.xml (no-windows !) R a2 $ hg status --change 2 M b2 @@ -452,10 +452,10 @@ small reminder of the repository state M b2 A 1k A 2k - A b2link + A b2link (no-windows !) A bin A c1 - A con.xml + A con.xml (no-windows !) R a2 $ hg status --change 4 A .hgsub @@ -464,7 +464,7 @@ small reminder of the repository state A dos A mac A mixed - R con.xml + R con.xml (no-windows !) ! a1 ? b2.orig ? c3 @@ -551,9 +551,9 @@ check wdir() ------------ $ hg status --removed --rev 4 - R con.xml + R con.xml (no-windows !) $ fileset "status(4, 'wdir()', removed())" - con.xml + con.xml (no-windows !) $ hg status --removed --rev 2 R a2 @@ -585,19 +585,19 @@ test with multi revs revset A .hgsubstate A 1k A 2k - A b2link + A b2link (no-windows !) A bin A c1 - A con.xml + A con.xml (no-windows !) $ fileset "status('0:1', '3:4', added())" .hgsub .hgsubstate 1k 2k - b2link + b2link (no-windows !) bin c1 - con.xml + con.xml (no-windows !) tests with empty value ---------------------- diff --git a/tests/test-hardlinks.t b/tests/test-hardlinks.t --- a/tests/test-hardlinks.t +++ b/tests/test-hardlinks.t @@ -211,10 +211,10 @@ r4 has hardlinks in the working dir (not 2 r4/.hg/00changelog.i 2 r4/.hg/branch 2 r4/.hg/cache/branch2-served - 2 r4/.hg/cache/checkisexec + 2 r4/.hg/cache/checkisexec (execbit !) 3 r4/.hg/cache/checklink (?) - ? r4/.hg/cache/checklink-target (glob) - 2 r4/.hg/cache/checknoexec + ? r4/.hg/cache/checklink-target (glob) (symlink !) + 2 r4/.hg/cache/checknoexec (execbit !) 2 r4/.hg/cache/rbc-names-v1 2 r4/.hg/cache/rbc-revs-v1 2 r4/.hg/dirstate @@ -251,9 +251,9 @@ Update back to revision 11 in r4 should 2 r4/.hg/00changelog.i 1 r4/.hg/branch 2 r4/.hg/cache/branch2-served - 2 r4/.hg/cache/checkisexec - 2 r4/.hg/cache/checklink-target - 2 r4/.hg/cache/checknoexec + 2 r4/.hg/cache/checkisexec (execbit !) + 2 r4/.hg/cache/checklink-target (symlink !) + 2 r4/.hg/cache/checknoexec (execbit !) 2 r4/.hg/cache/rbc-names-v1 2 r4/.hg/cache/rbc-revs-v1 1 r4/.hg/dirstate diff --git a/tests/test-tags.t b/tests/test-tags.t --- a/tests/test-tags.t +++ b/tests/test-tags.t @@ -672,9 +672,9 @@ Missing tags2* files means the cache was $ ls tagsclient/.hg/cache branch2-served - checkisexec - checklink - checklink-target + checkisexec (execbit !) + checklink (symlink !) + checklink-target (symlink !) hgtagsfnodes1 rbc-names-v1 rbc-revs-v1 @@ -699,9 +699,9 @@ Running hg tags should produce tags2* fi $ ls tagsclient/.hg/cache branch2-served - checkisexec - checklink - checklink-target + checkisexec (execbit !) + checklink (symlink !) + checklink-target (symlink !) hgtagsfnodes1 rbc-names-v1 rbc-revs-v1