summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/huge-usr-share/huge-usr-share-percent
diff options
context:
space:
mode:
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%