diff options
Diffstat (limited to 't/recipes/checks/md5sums/md5sums-general/build-spec')
7 files changed, 20 insertions, 0 deletions
diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install new file mode 100644 index 0000000..399564c --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/install @@ -0,0 +1 @@ +data* usr/share/lintian/ diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules new file mode 100644 index 0000000..6971ee0 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +FIND ?= find + +%: + dh $@ + +override_dh_builddeb: + echo "Broken md5sum" > $$($(FIND) debian/ -name 'data-file1') + sed -i 's/data-file2/data-file5/' $$($(FIND) -name 'md5sums') + echo "broken-md5sums" >> $$($(FIND) -name 'md5sums') + dh_builddeb diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/fill-values b/t/recipes/checks/md5sums/md5sums-general/build-spec/fill-values new file mode 100644 index 0000000..4607247 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: md5sums-general +Description: Test of md5sums related tags diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file1 b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file1 new file mode 100644 index 0000000..ad9213e --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file1 @@ -0,0 +1 @@ +Hello data-file1 diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file2 b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file2 new file mode 100644 index 0000000..fdf6b01 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file2 @@ -0,0 +1 @@ +Hello data-file2 diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file3 b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file3 new file mode 100644 index 0000000..0f72672 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file3 @@ -0,0 +1 @@ +Hello data-file3 diff --git a/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file4 b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file4 new file mode 100644 index 0000000..2764cf8 --- /dev/null +++ b/t/recipes/checks/md5sums/md5sums-general/build-spec/orig/data-file4 @@ -0,0 +1 @@ +Hello data-file4 |