Re: [PATCH 1/9] xfstests: fsstress add command line style output for show_opts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux