diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename | |
parent | Initial commit. (diff) | |
download | lintian-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/files/unicode/trojan/exe-vs-gif-in-patched-filename')
4 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/build-spec/fill-values b/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/build-spec/fill-values new file mode 100644 index 0000000..ac02fd0 --- /dev/null +++ b/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: exe-vs-gif-in-patched-filename +Description: Unicode RLTO in patched file name diff --git a/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/build-spec/pre-build b/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/build-spec/pre-build new file mode 100755 index 0000000..ab43774 --- /dev/null +++ b/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/build-spec/pre-build @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +DIR="$1" + +mkdir -p "$DIR/scripts" +NAME=`echo -e 'example\xE2\x80\xAEfig.exe'` +touch "$DIR/scripts/$NAME" diff --git a/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/eval/desc b/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/eval/desc new file mode 100644 index 0000000..93e20d8 --- /dev/null +++ b/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/eval/desc @@ -0,0 +1,2 @@ +Testname: exe-vs-gif-in-patched-filename +Check: files/unicode/trojan diff --git a/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/eval/hints b/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/eval/hints new file mode 100644 index 0000000..d1e3a72 --- /dev/null +++ b/t/recipes/checks/files/unicode/trojan/exe-vs-gif-in-patched-filename/eval/hints @@ -0,0 +1 @@ +exe-vs-gif-in-patched-filename (source): unicode-trojan File name U+202E "RIGHT-TO-LEFT OVERRIDE" [scripts/exampleâ®fig.exe] |