[alsa-utils][PATCH 13/13] Revert "axfer: test - add run-test-in-tmpdir.sh script"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
---
 axfer/test/run-test-in-tmpdir.sh | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100755 axfer/test/run-test-in-tmpdir.sh

diff --git a/axfer/test/run-test-in-tmpdir.sh b/axfer/test/run-test-in-tmpdir.sh
deleted file mode 100755
index e66fa73..0000000
--- a/axfer/test/run-test-in-tmpdir.sh
+++ /dev/null
@@ -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
-- 
2.27.0




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux