diff options
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-x | test/udev-test.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 1bb60bb76e..94cffeab07 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1494,6 +1494,19 @@ EOF KERNEL=="sda1", IMPORT{parent}="PARENT*", NAME="parentenv-\$env{PARENT_KEY}\$env{WRONG_PARENT_KEY}" EOF }, + { + desc => "GOTO test", + subsys => "block", + devpath => "/block/sda/sda1", + exp_name => "right", + rules => <<EOF +KERNEL=="sda1", GOTO="TEST" +KERNEL=="sda1", NAME="wrong" +KERNEL=="sda1", NAME="", LABEL="NO" +KERNEL=="sda1", NAME="right", LABEL="TEST" +KERNEL=="sda1", NAME="wrong2" +EOF + }, ); # set env |