Skip to contentSkip to conversation

test failure udev-147

DISCUSSION mgmadden 2 participants 2 messages Nov 19, 2009

lore
Share & tools
lore

mgmadden

author
#0 lore raw

TEST 1: no rules
device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node 'sda'
libudev: udev_rules_new: can not read '/var/tmp/portage/sys- fs/udev-147/work/udev-147/udev-test.rules'
add: error
Can't exec "tree": No such file or directory at ./test/udev-test.pl line 1862.

libudev: udev_rules_new: can not read '/var/tmp/portage/sys- fs/udev-147/work/udev-147/udev-test.rules'
remove: ok
This same error occurred 151 of 157 tests,(cant exec "tree") Geoff Madden

Signature · 1 line
Have a great day,tis beautiful here in Sth Oz
#1 lore raw
Quoted 11 lines · mgmadden

TEST 1: no rules
device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node 'sda'
libudev: udev_rules_new: can not read '/var/tmp/portage/sys- fs/udev-147/work/udev-147/udev-test.rules'
add: error
Can't exec "tree": No such file or directory at ./test/udev-test.pl line 1862.

Quoted 7 lines

libudev: udev_rules_new: can not read '/var/tmp/portage/sys- fs/udev-147/work/udev-147/udev-test.rules'
remove: ok
This same error occurred 151 of 157 tests,(cant exec "tree") Geoff Madden
--
Have a great day,tis beautiful here in Sth Oz

Yeah. I have to do

sudo -s
test/udevtest.pl

Otherwise I get the same error as you. I.e. it doesn't work if I do "cd test; ./udevtest", or if I do "sudo test/udev-test.pl" instead of using sudo -s.

If you don't use sudo, I expect "su" will work just as well as "sudo -s".

Hope this helps.
Alan