diff options
Diffstat (limited to 't/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec')
-rw-r--r-- | t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/fill-values | 3 | ||||
-rwxr-xr-x | t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/pre-build | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/fill-values b/t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/fill-values new file mode 100644 index 0000000..c619364 --- /dev/null +++ b/t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: rte-in-contents +Description: RTE in file contents diff --git a/t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/pre-build b/t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/pre-build new file mode 100755 index 0000000..d9672a5 --- /dev/null +++ b/t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/pre-build @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +DIR="$1" + +mkdir -p "$DIR/scripts" + +echo -e '#!/bin/sh\n\npotential\xE2\x80\xABtrojan' > "$DIR/scripts/careful" + +chmod +x "$DIR/scripts/careful" |