linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev test failures in 069 and 070
@ 2005-09-15 19:31 Matthew Burgess
  2005-09-15 21:10 ` Matthew Burgess
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Burgess @ 2005-09-15 19:31 UTC (permalink / raw)
  To: linux-hotplug

Hi Kay et al,

Running `make check' on udev-069 (and udev-70) results in two failures 
in the newly added santizing tests.  I installed `tree' from 
http://mama.indstate.edu/users/ice/tree/ in order to hopefully help 
debug the problem, I assume that's the correct binary to be using?

Anyway, I think the failures come down to a lack of UTF-8 support 
somewhere, but I can't tell whether it's in `echo' (vanilla 5.2.1), 
`udev' or something else in my environment.  Here's the output:

TEST 127: untrusted string sanitize (don't replace utf8)
device '/block/sda/sda1' expecting node 'uber'
add:         error
udev-root/
`-- sda1

0 directories, 1 file

remove:      ok

TEST 128: untrusted string sanitize (replace invalid utf8)
device '/block/sda/sda1' expecting node 'replaced'
add:         error
udev-root/
`-- sda1

0 directories, 1 file

If it helps at all, here's the corresponding `echo' output:

bash-3.00# /bin/echo -e \\xc3\\xbcber
\xc3\xbcber
bash-3.00# /bin/echo -e \\xef\\xe8garbage
\xef\xe8garbage

My locale is 'en_GB.UTF-8'.

Thanks for any help you can provide,

Matt.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: udev test failures in 069 and 070
  2005-09-15 19:31 udev test failures in 069 and 070 Matthew Burgess
@ 2005-09-15 21:10 ` Matthew Burgess
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Burgess @ 2005-09-15 21:10 UTC (permalink / raw)
  To: linux-hotplug

Matthew Burgess wrote:

> Anyway, I think the failures come down to a lack of UTF-8 support 
> somewhere, but I can't tell whether it's in `echo' (vanilla 5.2.1), 
> `udev' or something else in my environment.

Well, it turns out that support for '\xhh' support was added to 
coreutils relatively recently (June 2004), so is only available in the 
"alpha" 5.3.0 release.  Upgrading to that version fixed the test errors.

Sorry for the noise,

Matt.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2005-09-15 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 19:31 udev test failures in 069 and 070 Matthew Burgess
2005-09-15 21:10 ` Matthew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).