check TMP_DIR path for all runtest.sh scripts

To avoid temporary files are saved in wrong directory when test
script is executed under its own directory, TMP_DIR path should
be identified before the test.

Signed-off-by: Shaoyong Wang <shaoyongx.wang@intel.com>
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
10 files changed