Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_calm.py2
-rwxr-xr-xtest/testdata/htdocs.expected/summary/cygwin-src.html1
-rw-r--r--test/testdata/process_arch/packages.json.expected1
-rw-r--r--test/testdata/repodir/cygwin.git/cygwin.cygport0
4 files changed, 4 insertions, 0 deletions
diff --git a/test/test_calm.py b/test/test_calm.py
index 819ce64..c494b76 100755
--- a/test/test_calm.py
+++ b/test/test_calm.py
@@ -149,6 +149,7 @@ class CalmTest(unittest.TestCase):
args.dryrun = False
args.force = True
args.pkglist = 'testdata/pkglist/cygwin-pkg-maint'
+ args.repodir = 'testdata/repodir'
try:
shutil.rmtree(htdocs)
@@ -421,6 +422,7 @@ class CalmTest(unittest.TestCase):
args.inifile = os.path.join(args.rel_area, 'setup.ini')
args.pkglist = 'testdata/pkglist/cygwin-pkg-maint'
args.release = 'trial'
+ args.repodir = 'testdata/repodir'
args.setup_version = '3.1415'
args.stale = True
diff --git a/test/testdata/htdocs.expected/summary/cygwin-src.html b/test/testdata/htdocs.expected/summary/cygwin-src.html
index 87d13f0..d19e118 100755
--- a/test/testdata/htdocs.expected/summary/cygwin-src.html
+++ b/test/testdata/htdocs.expected/summary/cygwin-src.html
@@ -21,6 +21,7 @@
<span class="smaller">(Use <a href="/lists.html#cygwin">the mailing list</a> to report bugs or ask questions.
<a href="/problems.html#personal-email">Do not contact the maintainer(s) directly</a>.)</span>
<br><br>
+<span class="detail">packaging repository</span>: <a href="/cgit/cygwin-packages/cygwin/">cygwin.git</a>
<ul>
<li><span class="detail">x86_64</span></li>
<table class="pkgtable">
diff --git a/test/testdata/process_arch/packages.json.expected b/test/testdata/process_arch/packages.json.expected
index 0a2a7df..a915f4d 100644
--- a/test/testdata/process_arch/packages.json.expected
+++ b/test/testdata/process_arch/packages.json.expected
@@ -51,6 +51,7 @@
' "arches": [\n'
' "x86_64"\n'
' ],\n'
+ ' "build_recipe": "https://cygwin.com/cgit/cygwin-packages/cygwin/tree/cygwin.cygport",\n'
' "license": "LGPL-3.0-or-later WITH LGPL-3.0-linking-exception",\n'
' "maintainers": [\n'
' "Corinna Vinschen",\n'
diff --git a/test/testdata/repodir/cygwin.git/cygwin.cygport b/test/testdata/repodir/cygwin.git/cygwin.cygport
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/testdata/repodir/cygwin.git/cygwin.cygport