mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:25:43 +01:00
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:
parent
0a03f06134
commit
61c8622de4
1 changed files with 0 additions and 19 deletions
|
@ -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
|
Loading…
Reference in a new issue