summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/huge-usr-share/huge-usr-share-percent
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/huge-usr-share/huge-usr-share-percent
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/huge-usr-share/huge-usr-share-percent')
-rwxr-xr-xt/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/debian/rules10
-rw-r--r--t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/fill-values4
-rw-r--r--t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/desc2
-rw-r--r--t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/hints1
4 files changed, 17 insertions, 0 deletions
diff --git a/t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/debian/rules b/t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/debian/rules
new file mode 100755
index 0000000..0d87500
--- /dev/null
+++ b/t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_install:
+ install -d debian/huge-usr-share-percent/usr/lib/a
+ echo "Hallo World" > debian/huge-usr-share-percent/usr/lib/a/some-file
+ install -d debian/huge-usr-share-percent/usr/share/a
+ dd if=/dev/zero of=debian/huge-usr-share-percent/usr/share/a/zero \
+ bs=1024k count=4
diff --git a/t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/fill-values b/t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/fill-values
new file mode 100644
index 0000000..7aab793
--- /dev/null
+++ b/t/recipes/checks/huge-usr-share/huge-usr-share-percent/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: huge-usr-share-percent
+Description: Check passing the percentage limit of /usr/share data
+Package-Architecture: any
diff --git a/t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/desc b/t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/desc
new file mode 100644
index 0000000..3679b18
--- /dev/null
+++ b/t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/desc
@@ -0,0 +1,2 @@
+Testname: huge-usr-share-percent
+Check: huge-usr-share
diff --git a/t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/hints b/t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/hints
new file mode 100644
index 0000000..293e79a
--- /dev/null
+++ b/t/recipes/checks/huge-usr-share/huge-usr-share-percent/eval/hints
@@ -0,0 +1 @@
+huge-usr-share-percent (binary): arch-dep-package-has-big-usr-share 4097kB 100%