diff options
Diffstat (limited to 't/recipes/checks/files/symbolic-links/broken/symlinks-broken')
8 files changed, 50 insertions, 0 deletions
diff --git a/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/broken-links.links b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/broken-links.links new file mode 100644 index 0000000..2364bbe --- /dev/null +++ b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/broken-links.links @@ -0,0 +1,10 @@ +# broken links +usr/share/broken-links/some.data usr/lib/broken-links/some.data +etc/some.conf usr/lib/broken-links/some.conf +# At the time of writing, debhelper does not expand wildcard in +# links files. +etc/some-*.conf usr/lib/broken-links/some-other.conf + +# valid links +usr/share/data-pkg/valid.data usr/lib/data-pkg/valid.data +etc/valid.conf usr/lib/data-pkg/valid.conf diff --git a/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/control.in b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/control.in new file mode 100644 index 0000000..49142de --- /dev/null +++ b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/control.in @@ -0,0 +1,30 @@ +Source: [% $source %] +Priority: optional +Section: devel +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: broken-links +Architecture: all +Depends: ${misc:Depends}, data-pkg +Description: [% $description %] - symlinks + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + Contains only symlinks. + +Package: data-pkg +Architecture: all +Depends: ${misc:Depends} +Description: [% $description %] - data + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + Contains actual files. + diff --git a/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/data-pkg.install b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/data-pkg.install new file mode 100644 index 0000000..e26c08b --- /dev/null +++ b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/debian/data-pkg.install @@ -0,0 +1,2 @@ +valid.conf etc/ +valid.data usr/share/data-pkg/ diff --git a/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/fill-values b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/fill-values new file mode 100644 index 0000000..9fb3c92 --- /dev/null +++ b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: symlinks-broken +Description: General tests broken symlinks diff --git a/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/orig/valid.conf b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/orig/valid.conf new file mode 100644 index 0000000..9f51dd6 --- /dev/null +++ b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/orig/valid.conf @@ -0,0 +1 @@ +# lalalalal - some conf file diff --git a/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/orig/valid.data b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/orig/valid.data new file mode 100644 index 0000000..1e19ae1 --- /dev/null +++ b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/build-spec/orig/valid.data @@ -0,0 +1 @@ +Hallo world data file diff --git a/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/eval/desc b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/eval/desc new file mode 100644 index 0000000..b6532b1 --- /dev/null +++ b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/eval/desc @@ -0,0 +1,2 @@ +Testname: symlinks-broken +Check: files/symbolic-links/broken diff --git a/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/eval/hints b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/eval/hints new file mode 100644 index 0000000..dcc7d8b --- /dev/null +++ b/t/recipes/checks/files/symbolic-links/broken/symlinks-broken/eval/hints @@ -0,0 +1 @@ +broken-links (binary): package-contains-broken-symlink-wildcard etc/some-*.conf [usr/lib/broken-links/some-other.conf] |