From: Karel Zak Date: Tue, 12 Mar 2013 15:08:23 +0000 (+0100) Subject: tests: move fallocate test file X-Git-Tag: v2.23-rc1~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef5b971c7864114a32c50ddcf619e8dc6a3fc281;p=thirdparty%2Futil-linux.git tests: move fallocate test file Signed-off-by: Karel Zak --- 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