On 09/06/2013 06:38 AM, David Sterba wrote: > Hi, > > I'm using "fio --showcmd file.job" to convert a script to plain > commandline arguments and this fails if the directory specified in job > file does not exist. While this has to be an error if the job is being > executed, it should not be in context of --showcmd. > > To reproduce: > $ cat job.fio > [global] > directory=/x > > $ fio --showcmd job.fio > fio: /x is not a directory > fio: failed parsing directory=/x > fio: job global dropped > > Expected output: > fio --directory=/x That's definitely a bug, the callbacks should not verify anything if we are only in dump or parse only mode. I've committed a fix. -- 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