Flexible I/O Tester development
 help / color / mirror / Atom feed
* fio exits with 0 with some bad job files
@ 2014-10-06 22:27 Bruce Cran
  2014-10-07  1:00 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Cran @ 2014-10-06 22:27 UTC (permalink / raw)
  To: fio@vger.kernel.org

If you run fio with --parse-only and a job file such as 
examples/tiobench-example.fio that's had the semi-colons removed from 
the first two lines, fio prints an error message but still exits with 0:

% ./fio examples/tiobench-example.fio --parse-only
fio: option <tiobench like setup, add more fX files between the 
stonewalls to> outside of [] job section
% echo $?
0
%

I'd have expected it to exit with a non-zero value.

-- 
Bruce

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-07  1:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-06 22:27 fio exits with 0 with some bad job files Bruce Cran
2014-10-07  1:00 ` Jens Axboe
2014-10-07  1:08   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox