On Fri, Mar 27, 2015 at 05:15:33AM -0400, Jan Tulak wrote: > > > ----- Original Message ----- > > From: "Eryu Guan" <[email protected]> > > To: "Jan Ťulák" <[email protected]> > > Cc: [email protected], [email protected], [email protected] > > Sent: Friday, 27 March, 2015 8:25:39 AM > > Subject: Re: [PATCH v6] fstests: Tests can use any name now, not 3 digits > > only. > > > > [...] > > > > (( 10#$foundId > 10#$id )) part is tricky, I have to lookup the bash > > manpage to understand it :) > > > > 10 is the default base, the "10#" part can be omitted. > > > > But I think simple [ $foundId -gt $id ] is better, and David Sterba is > > OK with it too now (in another reply) :-) > > > > > > Thank you so much for continuous improvements! > > > > Eryu > > The 10 base was necessary here, because as I found, (( )) takes numbers > beginning with zeroes as octal. So it complained about tests like 008, 009, > 019, 029... The [ ] does not complain, so I will put it back here. :-)
Ah, I missed that, lesson learned. Thanks, Eryu > > And thanks for patience. :-) > Jan > -- > To unsubscribe from this list: send the line "unsubscribe fstests" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
