]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/cephtool/test.sh: respect $TMPDIR
authorKefu Chai <kchai@redhat.com>
Tue, 5 Jul 2016 13:01:00 +0000 (21:01 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 7 Jul 2016 04:11:05 +0000 (12:11 +0800)
commit06195b34767bf69fe936c314c04127f668f6ba3a
tree8b7f4306b525285b176f50265f365455f466d661
parentf3c8c28b60771761a889075f305bffa2827cc3bc
qa/workunits/cephtool/test.sh: respect $TMPDIR

create temp directory and files in $TMPDIR. the $TMPDIR is hard-wired to
/tmp before this change, we'd better respect the env variable $TMPDIR,
so it would be more consistent, and easier to do the cleanup if any.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/cephtool/test.sh