summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/source-missing/cruft-wasm/build-spec
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/files/source-missing/cruft-wasm/build-spec
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.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/files/source-missing/cruft-wasm/build-spec')
-rw-r--r--t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values4
-rw-r--r--t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README1
-rwxr-xr-xt/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream11
3 files changed, 16 insertions, 0 deletions
diff --git a/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values
new file mode 100644
index 0000000..b5cd494
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: cruft-wasm
+Description: Misc errors related to wasm
+Skeleton: upload-non-native
+Extra-Build-Depends: file (>= 1:5.32)
diff --git a/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README
new file mode 100644
index 0000000..a6a4fce
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/orig/README
@@ -0,0 +1 @@
+This include fake wasm file
diff --git a/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream
new file mode 100755
index 0000000..12344f9
--- /dev/null
+++ b/t/recipes/checks/files/source-missing/cruft-wasm/build-spec/pre-upstream
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# Create all the various junk that shouldn't exist in the diff so that we can
+# trigger all the tags.
+
+set -e
+dir="$1"
+srcdir="$1"
+
+printf "\0asm\001\0\0\0" > "$srcdir/fake.wasm"
+