Skip to content
Snippets Groups Projects
Commit 6767e7ce authored by Matt Harbison's avatar Matt Harbison
Browse files

test-narrow: partially stabilize on Windows

test-narrow-strip.t is still broken.  I don't see any feature condititionals, so
it might be an actual problem.
parent 8b33eb34
No related branches found
No related tags found
No related merge requests found
...@@ -23,5 +23,6 @@ ...@@ -23,5 +23,6 @@
> hg add $d/bar > hg add $d/bar
> hg commit -m "add $d/bar" > hg commit -m "add $d/bar"
> done > done
#if execbit
$ chmod +x dir1/dirA/foo $ chmod +x dir1/dirA/foo
$ hg commit -m "make dir1/dirA/foo executable" $ hg commit -m "make dir1/dirA/foo executable"
...@@ -26,5 +27,17 @@ ...@@ -26,5 +27,17 @@
$ chmod +x dir1/dirA/foo $ chmod +x dir1/dirA/foo
$ hg commit -m "make dir1/dirA/foo executable" $ hg commit -m "make dir1/dirA/foo executable"
#else
$ hg import --bypass - <<EOF
> # HG changeset patch
> make dir1/dirA/foo executable
>
> diff --git a/dir1/dirA/foo b/dir1/dirA/foo
> old mode 100644
> new mode 100755
> EOF
applying patch from stdin
$ hg update -qr tip
#endif
$ hg log -G -T '{rev} {node|short} {files}\n' $ hg log -G -T '{rev} {node|short} {files}\n'
@ 13 c87ca422d521 dir1/dirA/foo @ 13 c87ca422d521 dir1/dirA/foo
| |
...@@ -149,7 +162,9 @@ ...@@ -149,7 +162,9 @@
dir2 dir2
dir2/bar dir2/bar
dir2/foo dir2/foo
#if execbit
$ test -x dir1/dirA/foo && echo executable $ test -x dir1/dirA/foo && echo executable
executable executable
$ test -x dir1/dirA/bar || echo not executable $ test -x dir1/dirA/bar || echo not executable
not executable not executable
...@@ -152,7 +167,9 @@ ...@@ -152,7 +167,9 @@
$ test -x dir1/dirA/foo && echo executable $ test -x dir1/dirA/foo && echo executable
executable executable
$ test -x dir1/dirA/bar || echo not executable $ test -x dir1/dirA/bar || echo not executable
not executable not executable
#endif
$ hg log -G -T '{rev} {node|short}{if(ellipsis, "...")} {files}\n' $ hg log -G -T '{rev} {node|short}{if(ellipsis, "...")} {files}\n'
@ 8 c87ca422d521 dir1/dirA/foo @ 8 c87ca422d521 dir1/dirA/foo
| |
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
$ hg update -q 'desc("modify inside")' $ hg update -q 'desc("modify inside")'
$ find * $ find *
inside inside
inside/f1 (glob) inside/f1
$ cat inside/f1 $ cat inside/f1
modified modified
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
$ hg update -q 'desc("modify outside")' $ hg update -q 'desc("modify outside")'
$ find * $ find *
inside inside
inside/f1 (glob) inside/f1
$ cat inside/f1 $ cat inside/f1
modified modified
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment