udev test failures in 069 and 070
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 3 lines · Matthew Burgess
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel