|
Message-ID: <20110716143309.GA8093@openwall.com> Date: Sat, 16 Jul 2011 18:33:09 +0400 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: LANG and LC_COLLATE (was: [john-users] John Test Suite v1.03 released) magnum - On Sat, Jul 16, 2011 at 03:49:14PM +0200, magnum wrote: > I just found out that for certain LANG environmental variable settings, > the test suite will show bad results (lots of 1497 on validation). This > is due to things like sort|uniq acting weird. > > Putting LANG= before ./tstall will fix this. I enclose a patch for > Makefile that lets you run the test suite using "make test" from john > src directory, provided the test suite is installed in ../test relative > to that (i.e. test is a sibling to src). It includes this LANG= fix. Note that LC_COLLATE takes precedence over LANG, and I think LC_ALL does too. So if a system has LC_ALL or LC_COLLATE set, your fix won't help. I think the most specific one of these three - LC_COLLATE - is the higher priority one. So a better fix would be to set LC_COLLATE=C (not LANG). Thanks, Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.