On 12/20/2016 04:21 PM, Dave Jiang wrote: > +if test "$libpmem" == "yes" && test "$disable_pmem" == "no"; then > + devdax="yes" > + if test "$libpmemblk" == "yes"; then > + pmemblk="yes" > + fi > +fi > + Just use test "$var" = "yes" etc, no double ==, or it won't work. Otherwise looks fine. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html