diff options
Diffstat (limited to 't/recipes/checks/conffiles/conffile-removed-but-present')
7 files changed, 20 insertions, 0 deletions
diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/conffiles b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/conffiles new file mode 100644 index 0000000..bcbd369 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/conffiles @@ -0,0 +1 @@ +remove-on-upgrade /etc/some.config diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/install b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/install new file mode 100644 index 0000000..ee19d5d --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/install @@ -0,0 +1 @@ +etc diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/rules b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/rules new file mode 100755 index 0000000..c8e5e69 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f +pkg=conffile-removed-but-present + +%: + dh $@ + +override_dh_builddeb: + mkdir -p debian/$(pkg)/DEBIAN + cp debian/conffiles debian/$(pkg)/DEBIAN + dpkg-deb --nocheck --build debian/$(pkg) ../$(pkg)_1.0-1_all.deb diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/fill-values b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/fill-values new file mode 100644 index 0000000..46ce4f3 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-non-native +Testname: conffile-removed-but-present +Package-Architecture: all +Description: Instruction 'remove-on-upgrade' in DEBIAN/conffiles but file shipped diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/orig/etc/some.config b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/orig/etc/some.config new file mode 100644 index 0000000..75e946e --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/build-spec/orig/etc/some.config @@ -0,0 +1 @@ +A CONFIGURATION. diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/eval/desc b/t/recipes/checks/conffiles/conffile-removed-but-present/eval/desc new file mode 100644 index 0000000..41d0905 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/eval/desc @@ -0,0 +1,2 @@ +Testname: conffile-removed-but-present +Check: conffiles diff --git a/t/recipes/checks/conffiles/conffile-removed-but-present/eval/hints b/t/recipes/checks/conffiles/conffile-removed-but-present/eval/hints new file mode 100644 index 0000000..5b746d6 --- /dev/null +++ b/t/recipes/checks/conffiles/conffile-removed-but-present/eval/hints @@ -0,0 +1 @@ +conffile-removed-but-present (binary): unexpected-conffile etc/some.config [conffiles:1] |