X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=test%2Fudev-test.pl;h=6fbc23e55737259ba136101d06c29971b5e3dbde;hp=5210471474a45e1e8a527ffb055c0b3ea181a8ad;hb=a72e3f666b897f94a64547ace3af74785d2f6771;hpb=613ffbeb15e0507581e5037850c1ea5d56cd0928 diff --git a/test/udev-test.pl b/test/udev-test.pl index 521047147..6fbc23e55 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1090,7 +1090,8 @@ EOF desc => "ignore rule test", subsys => "block", devpath => "/block/sda", - exp_name => "node", + exp_name => "nothing", + not_exp_name => "node", exp_add_error => "yes", rules => < "test empty NAME", + subsys => "tty", + devpath => "/class/tty/ttyUSB0", + exp_name => "node", + not_exp_name => "wrong", + exp_add_error => "yes", + rules => < "test empty NAME 2", + subsys => "tty", + devpath => "/class/tty/ttyUSB0", + exp_name => "right", + rules => <