diff options
Diffstat (limited to 't/recipes/checks/debian/watch/watch-file-should-mangle')
4 files changed, 20 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 diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/desc b/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/desc new file mode 100644 index 0000000..584f10d --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/desc @@ -0,0 +1,2 @@ +Testname: watch-file-should-mangle +Check: debian/watch diff --git a/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/hints b/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/hints new file mode 100644 index 0000000..ed53e0f --- /dev/null +++ b/t/recipes/checks/debian/watch/watch-file-should-mangle/eval/hints @@ -0,0 +1,3 @@ +watch-file-should-mangle (source): debian-watch-not-mangling-version https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate [debian/watch:5] +watch-file-should-mangle (source): debian-watch-not-mangling-version https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz [debian/watch:11] +watch-file-should-mangle (source): debian-watch-does-not-check-openpgp-signature [debian/watch] |