mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
tests: add missing globs for Windows
I couldn't figure out how to glob the first chunk for Windows, so it's been conditionalized.
This commit is contained in:
parent
83145196b9
commit
8080f9baf5
@ -470,9 +470,15 @@ verify pathauditor blocks evil filepaths
|
||||
> 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 @@ verify pathauditor blocks evil filepaths
|
||||
> 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 @@ verify pathauditor blocks evil filepaths
|
||||
> 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]
|
||||
|
@ -62,7 +62,7 @@ already has one local mq patch
|
||||
note: rebase of 3:148775c71080 created no changes to commit
|
||||
rebase merging completed
|
||||
updating mq patch p0.patch to 5:9ecc820b1737
|
||||
$TESTTMP/a/.hg/patches/p0.patch
|
||||
$TESTTMP/a/.hg/patches/p0.patch (glob)
|
||||
2 changesets found
|
||||
saved backup bundle to $TESTTMP/a/.hg/strip-backup/13a46ce44f60-backup.hg (glob)
|
||||
2 changesets found
|
||||
|
Loading…
Reference in New Issue
Block a user