Mercurial > public > mercurial-scm > hg
diff tests/test-commit.t @ 23627:7aaf987d9e88
tests: add missing globs for Windows
I couldn't figure out how to glob the first chunk for Windows, so it's been
conditionalized.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 10 Dec 2014 22:09:46 -0500 |
parents | bb304f9b05d0 |
children | 1e6fb8db666e |
line wrap: on
line diff
--- a/tests/test-commit.t Thu Dec 18 23:24:17 2014 -0500 +++ b/tests/test-commit.t Wed Dec 10 22:09:46 2014 -0500 @@ -470,9 +470,15 @@ > r.commitctx(c) > EOF $ $PYTHON evil-commit.py +#if windows + $ hg co --clean tip + abort: path contains illegal component: .h\xe2\x80\x8cg\\hgrc (esc) + [255] +#else $ hg co --clean tip abort: path contains illegal component: .h\xe2\x80\x8cg/hgrc (esc) [255] +#endif $ hg rollback -f repository tip rolled back to revision 1 (undo commit) @@ -489,7 +495,7 @@ > EOF $ $PYTHON evil-commit.py $ hg co --clean tip - abort: path contains illegal component: HG~1/hgrc + abort: path contains illegal component: HG~1/hgrc (glob) [255] $ hg rollback -f @@ -507,5 +513,5 @@ > EOF $ $PYTHON evil-commit.py $ hg co --clean tip - abort: path contains illegal component: HG8B6C~2/hgrc + abort: path contains illegal component: HG8B6C~2/hgrc (glob) [255]