summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/watch')
-rw-r--r--t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/watch11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/watch b/t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/watch
new file mode 100644
index 0000000..430eea3
--- /dev/null
+++ b/t/recipes/checks/md5sums/legacy-maintainer-scripts/build-spec/debian/watch
@@ -0,0 +1,11 @@
+# A whitespace is fine for uscan:
+ version=5
+
+# Following line should not be matched:
+#opts=uversionmangle=s/$/+debian/,dversionmangle=s/foo/bar/ \
+# Following one is incorrect, there's a missing backslash at the end
+opts=uversionmangle=s/$/+dfsg/,dversionmangle=s/foo/bar/
+
+# 'active' is useless here, but it works anyway
+options=active \
+http://domain.tld/foo-(.+)\.tar\.gz \ No newline at end of file