Revert "axfer: test - add run-test-in-tmpdir.sh script"

This reverts commit e1551de8dd since tests
run for in-memory files now.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Takashi Sakamoto 2021-03-11 14:21:44 +09:00 committed by Jaroslav Kysela
parent 0a03f06134
commit 61c8622de4

View file

@ -1,19 +0,0 @@
#!/bin/sh
bin="$1"
test -z ${bin} && exit 90
test ! -x ${bin} && exit 91
test -z ${TMPDIR} && exit 92
test ! -d ${TMPDIR} && exit 93
tmp_dir=$(mktemp -d ${TMPDIR}/container-test.XXXXX)
cur_dir=$(pwd)
echo ${tmp_dir}
cd ${tmp_dir}
${cur_dir}/${bin}
retval=$?
cd ${cur_dir}
rm -rf ${tmp_dir}
exit $retval