Mercurial > hg
changeset 17022:8a38839ae1dc
test-subrepo-git.t: adapt for Windows
hg forget 'notafile*' is changed to use a name that is valid on Windows so we
still get the same error ... but the error message is disabled because it
varies with the Windows version.
author | Eduard-Cristian Stefan <alexandrul.ct@gmail.com> |
---|---|
date | Wed, 20 Jun 2012 02:09:49 +0300 |
parents | 955662c1d0e9 |
children | 3e2d8120528b |
files | tests/test-subrepo-git.t |
diffstat | 1 files changed, 13 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-subrepo-git.t Wed Jun 20 18:02:01 2012 +0200 +++ b/tests/test-subrepo-git.t Wed Jun 20 02:09:49 2012 +0300 @@ -2,6 +2,8 @@ make git commits repeatable + $ echo "[core]" >> $HOME/.gitconfig + $ echo "autocrlf = false" >> $HOME/.gitconfig $ GIT_AUTHOR_NAME='test'; export GIT_AUTHOR_NAME $ GIT_AUTHOR_EMAIL='test@example.org'; export GIT_AUTHOR_EMAIL $ GIT_AUTHOR_DATE='1234567891 +0000'; export GIT_AUTHOR_DATE @@ -133,7 +135,7 @@ user b push changes $ hg push 2>/dev/null - pushing to $TESTTMP/t + pushing to $TESTTMP/t (glob) pushing branch testing of subrepo s searching for changes adding changesets @@ -145,7 +147,7 @@ $ cd ../ta $ hg pull - pulling from $TESTTMP/t + pulling from $TESTTMP/t (glob) searching for changes adding changesets adding manifests @@ -173,7 +175,7 @@ source ../gitroot revision f47b465e1bce645dbf37232a00574aa1546ca8d3 $ hg push 2>/dev/null - pushing to $TESTTMP/t + pushing to $TESTTMP/t (glob) pushing branch testing of subrepo s searching for changes adding changesets @@ -205,7 +207,7 @@ $ echo aa >> a $ hg commit -m aa $ hg push - pushing to $TESTTMP/t + pushing to $TESTTMP/t (glob) searching for changes adding changesets adding manifests @@ -292,7 +294,7 @@ M inner/s/f $ hg commit --subrepos -m nested committing subrepository inner - committing subrepository inner/s + committing subrepository inner/s (glob) nested archive @@ -509,8 +511,14 @@ Test forgetting files, not implemented in git subrepo, used to traceback +#if no-windows $ hg forget 'notafile*' notafile*: No such file or directory [1] +#else + $ hg forget 'notafile' + notafile: * (glob) + [1] +#endif $ cd ..