Re: [PATCH] pipesz: use native PAGE_SIZE in tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 4, 2022 at 5:00 AM Nathan Sharp <nwsharp@xxxxxxxx> wrote:
> Reported-by: Anatoly Pugachev <matorola@xxxxxxxxx>
> --- a/tests/ts/misc/pipesz
> +++ b/tests/ts/misc/pipesz
> @@ -18,6 +18,10 @@ TS_DESC="pipesz"
>  . $TS_TOPDIR/functions.sh
>  ts_init "$*"
>
> +set -o pipefail
> +
> +DEFAULT_PIPE_SIZE=$(($(getconf PAGE_SIZE) * 16))

DEFAULT_PIPE_SIZE=$(($($TS_HELPER_SYSINFO pagesize) * 16))

to be consistent with other tests



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux