summaryrefslogtreecommitdiffstats
path: root/tests/exe
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exe')
-rwxr-xr-xtests/exe/ob-unpacksource.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/exe/ob-unpacksource.sh b/tests/exe/ob-unpacksource.sh
index d443529..fbe94a2 100755
--- a/tests/exe/ob-unpacksource.sh
+++ b/tests/exe/ob-unpacksource.sh
@@ -22,16 +22,9 @@ set -eu
. "${TOP_SRCDIR}/tests/aux/tap-functions.sh"
. "${TOP_SRCDIR}/tests/aux/common.sh"
-FOO_SH="$(cat <<-'EOF'
- #!/bin/sh
- printf 'Hello, world!\n'
- EOF
- )"
-
plan_ 4
-mkdir -p '../src/src/'
-printf '%s\n' "${FOO_SH}" >'../src/src/foo.sh'
+cp -Rp '../../src/' '../src/'
command_ok_ 'ob-unpacksource exit status' ob-unpacksource
cmd_is 'native sources unpacked' cat 'src/src/foo.sh' <<-EOF