diff options
Diffstat (limited to 't/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/pre-build')
-rwxr-xr-x | t/recipes/checks/files/unicode/trojan/rte-in-contents/build-spec/pre-build | 11 |
1 files changed, 11 insertions, 0 deletions
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" |