[LTP] [PATCH 1/2] testscripts: make redirects happen in correct order

Cyril Hrubis chrubis@suse.cz
Wed Sep 30 14:16:14 CEST 2015


Hi!
>  if [ $PROC_NUM -gt 0 ];then
> -  genload --vm $PROC_NUM --vm-bytes 1073741824 2>&1 1>/dev/null &
> +  genload --vm $PROC_NUM --vm-bytes 1073741824 1>/dev/null 2>&1 &

Can we also change the redirect to canonical form (>/dev/null 2>&1)?

Otherwise it looks fine to me.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the Ltp mailing list