summaryrefslogtreecommitdiffstats
path: root/bin/sh/tests/functional_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/tests/functional_test.sh')
-rwxr-xr-xbin/sh/tests/functional_test.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/sh/tests/functional_test.sh b/bin/sh/tests/functional_test.sh
index 33bee09..6980538 100755
--- a/bin/sh/tests/functional_test.sh
+++ b/bin/sh/tests/functional_test.sh
@@ -39,13 +39,7 @@ check()
local out_file="${SRCDIR}/${tc}.stdout"
[ -f "${out_file}" ] && out_flag="-o file:${out_file}"
- # We need to copy the testcase scenario file because some of the
- # testcases hardcode relative paths in the stderr/stdout.
- #
- # TODO: we might be able to generate this path at build time
- cp ${SRCDIR}/${tc} .
-
- atf_check -s exit:${tc##*.} ${err_flag} ${out_flag} ${SH} "./${tc}"
+ atf_check -s exit:${tc##*.} ${err_flag} ${out_flag} ${SH} "${SRCDIR}/${tc}"
}
add_testcase()
OpenPOWER on IntegriCloud