diff options
author | Karel Zak | 2013-03-12 16:08:23 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-12 16:08:23 +0100 |
commit | ef5b971c7864114a32c50ddcf619e8dc6a3fc281 (patch) | |
tree | fedf67c930e68b3c4b1e7599140ec9439ce20396 /tests/ts/misc | |
parent | tests: move tailf test input (diff) | |
download | kernel-qcow2-util-linux-ef5b971c7864114a32c50ddcf619e8dc6a3fc281.tar.gz kernel-qcow2-util-linux-ef5b971c7864114a32c50ddcf619e8dc6a3fc281.tar.xz kernel-qcow2-util-linux-ef5b971c7864114a32c50ddcf619e8dc6a3fc281.zip |
tests: move fallocate test file
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/misc')
-rwxr-xr-x | tests/ts/misc/fallocate | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/ts/misc/fallocate b/tests/ts/misc/fallocate index 4b9db706a..735baab0f 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 |