diff options
-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 )) |