From: Omar Sandoval Date: Mon, 11 Jun 2018 21:54:42 +0000 (-0700) Subject: check: move TMPDIR to repo directory X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4c49b195b7295ba48676805794ca131f7dafacb2;p=users%2Fsagi%2Fblktests.git check: move TMPDIR to repo directory The new NVMeOF tests require direct I/O in TMPDIR, which obviously doesn't work on tmpfs. Signed-off-by: Omar Sandoval --- diff --git a/check b/check index 08d0213..4baa8dd 100755 --- a/check +++ b/check @@ -320,7 +320,7 @@ _call_test() { fi trap _cleanup EXIT - if ! TMPDIR="$(mktemp --tmpdir -d "blktests.${TEST_NAME//\//.}.XXX")"; then + if ! TMPDIR="$(mktemp --tmpdir -p results -d "tmpdir.${TEST_NAME//\//.}.XXX")"; then return fi