diff options
author | Karel Zak | 2017-05-23 12:10:15 +0200 |
---|---|---|
committer | Karel Zak | 2017-05-23 12:10:15 +0200 |
commit | cf1e776f1bbedf1969ad266ed637bdd42d278020 (patch) | |
tree | 4a1cb7e488506898d4041950d9cdb1f9e6ce4aa5 /tests/ts | |
parent | docs: update AUTHORS file (diff) | |
download | kernel-qcow2-util-linux-cf1e776f1bbedf1969ad266ed637bdd42d278020.tar.gz kernel-qcow2-util-linux-cf1e776f1bbedf1969ad266ed637bdd42d278020.tar.xz kernel-qcow2-util-linux-cf1e776f1bbedf1969ad266ed637bdd42d278020.zip |
tests: check for TS_HELPER_SYSINFO in fincore test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts')
-rwxr-xr-x | tests/ts/fincore/count | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/ts/fincore/count b/tests/ts/fincore/count index ac58850ff..7a1c5d426 100755 --- a/tests/ts/fincore/count +++ b/tests/ts/fincore/count @@ -1,5 +1,13 @@ #!/bin/bash +TS_TOPDIR="${0%/*}/../.." +TS_DESC="count file contents in core" + +. $TS_TOPDIR/functions.sh +ts_init "$*" + +ts_check_test_command "$TS_HELPER_SYSINFO" + function header { echo "[" "$1" "]" @@ -87,11 +95,6 @@ function run_dd_dd_test footer "$?" } -TS_TOPDIR="${0%/*}/../.." -TS_DESC="count file contents in core" - -. $TS_TOPDIR/functions.sh -ts_init "$*" PAGE_SIZE=$($TS_HELPER_SYSINFO pagesize) WINDOW_SIZE=$(( 32 * 1024 * PAGE_SIZE )) |