Skip to content

Commit

Permalink
removed dependedncy on mktemp
Browse files Browse the repository at this point in the history
  • Loading branch information
atks committed May 27, 2015
1 parent c9741da commit 4739ce2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion test/decompose_blocksub/_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ VT=${DIR}/../../vt
set -e

# create temporary directory and ensure cleanup on termination
export TMPDIR=$(mktemp -d)
#export TMPDIR=$(mktemp -d)
export TMPDIR=${DIR}/tmp
mkdir -p ${TMPDIR}
trap "set -x; rm -rf ${TMPDIR}" EXIT KILL TERM INT HUP

echo "Tests for vt decompose_blocksub" >&2
Expand Down
5 changes: 3 additions & 2 deletions test/normalize/_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ REF=${DIR}/../ref/20.fa.gz
set -e

# create temporary directory and ensure cleanup on termination
export TMPDIR=$(mktemp -d)
#export TMPDIR=$(mktemp -d)
export TMPDIR=${DIR}/tmp
mkdir -p ${TMPDIR}
trap "set -x; rm -rf ${TMPDIR}" EXIT KILL TERM INT HUP

echo "Tests for vt normalize" >&2
Expand All @@ -24,7 +26,6 @@ echo "----------------------" >&2
# ---------------------------------------------------------------------------

set -x
mkdir -p ${TMPDIR}/01

# call program
${VT} \
Expand Down

0 comments on commit 4739ce2

Please sign in to comment.