summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/watch/watch-file-should-mangle/build-spec')
-rw-r--r--t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/debian/watch11
-rw-r--r--t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/fill-values4
2 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/debian/watch b/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/debian/watch
new file mode 100644
index 0000000..6cc9db4
--- /dev/null
+++ b/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/debian/watch
@@ -0,0 +1,11 @@
+# watch file with no version mangling, even though there's a dfsg in the
+# package version number.
+
+version=2
+https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate
+
+# version mangling is not needed in this case:
+https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz 0.24 uupdate
+
+# version mangling *is* needed in this case:
+https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz
diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/fill-values b/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/fill-values
new file mode 100644
index 0000000..8a8df44
--- /dev/null
+++ b/t/recipes/checks/debian/watch/watch-file-should-mangle/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: watch-file-should-mangle
+Skeleton: upload-non-native
+Version: 1+dfsg-1
+Description: Watch file should mangle version