[PATCH 1/9] xfstests: fsstress add command line style output for show_opts
Dave Chinner
david at fromorbit.com
Mon Nov 7 14:52:50 CST 2011
On Thu, Nov 03, 2011 at 09:55:45PM +0400, Dmitry Monakhov wrote:
> Once some combination of seed+fs_ops result in regression it is
> reasonable to document that combination. It is usefull to dump
> that configuration in command line style. Later this line may be
> simply hardcoded in to regression test.
.....
> @@ -345,7 +345,10 @@ int main(int argc, char **argv)
> zero_freq();
> break;
> case 'S':
> - show_ops(0, NULL);
> + i = 0;
> + if (optarg[0] == 'c')
> + i = 1;
> + show_ops(1, NULL);
I don't think that does what it is supposed to do...
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list