From ef5b971c7864114a32c50ddcf619e8dc6a3fc281 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 12 Mar 2013 16:08:23 +0100 Subject: [PATCH] tests: move fallocate test file Signed-off-by: Karel Zak --- tests/ts/misc/fallocate | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/ts/misc/fallocate b/tests/ts/misc/fallocate index 4b9db706ab..735baab0f4 100755 --- a/tests/ts/misc/fallocate +++ b/tests/ts/misc/fallocate @@ -18,8 +18,12 @@ TS_DESC="fallocate" . $TS_TOPDIR/functions.sh ts_init "$*" -$TS_CMD_FALLOCATE -o 128 -l 256 $TS_SELF/fallocate_test > $TS_OUTPUT 2>&1 -stat -c "%s" $TS_SELF/fallocate_test > $TS_OUTPUT 2>&1 -rm -f $TS_SELF/fallocate_test +IMAGE=${TS_OUTDIR}/${TS_TESTNAME}.file +rm -f $IMAGE + +$TS_CMD_FALLOCATE -o 128 -l 256 $IMAGE > $TS_OUTPUT 2>&1 +stat -c "%s" $IMAGE > $TS_OUTPUT 2>&1 + +rm -f $IMAGE ts_finalize -- 2.47.2