Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG1398c2d74d3a: tests: port inline cgi script in test-largefiles.t to python 3
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
indygreg |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | tests/test-largefiles.t (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 | ||
Closed | durin42 |
Test largefiles can be loaded in hgweb (wrapcommand() shouldn't fail) | Test largefiles can be loaded in hgweb (wrapcommand() shouldn't fail) | ||||
$ cat <<EOF > "$TESTTMP/hgweb.cgi" | $ cat <<EOF > "$TESTTMP/hgweb.cgi" | ||||
> #!$PYTHON | > #!$PYTHON | ||||
> from mercurial import demandimport; demandimport.enable() | > from mercurial import demandimport; demandimport.enable() | ||||
> from mercurial.hgweb import hgweb | > from mercurial.hgweb import hgweb | ||||
> from mercurial.hgweb import wsgicgi | > from mercurial.hgweb import wsgicgi | ||||
> application = hgweb('.', 'test repo') | > application = hgweb(b'.', b'test repo') | ||||
> wsgicgi.launch(application) | > wsgicgi.launch(application) | ||||
> EOF | > EOF | ||||
$ . "$TESTDIR/cgienv" | $ . "$TESTDIR/cgienv" | ||||
$ SCRIPT_NAME='' \ | $ SCRIPT_NAME='' \ | ||||
> $PYTHON "$TESTTMP/hgweb.cgi" > /dev/null | > $PYTHON "$TESTTMP/hgweb.cgi" > /dev/null | ||||
Test archiving the various revisions. These hit corner cases known with | Test archiving the various revisions. These hit corner cases known with |