summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-09-06 16:55:00 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-09-07 12:13:49 +0200
commit9dae0e89b9d2138e028c2a69170ba2a96503b766 (patch)
tree3e5cbdc082ee77c1cf27ee838ccdd62b391c6038 /test/udev-test.pl
parent77f89e933034d150b54e10552504b8c6f013c3fd (diff)
test: catch possible bug in GOTO resolving
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-xtest/udev-test.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index aaeec24955..47cadc5db3 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -1524,8 +1524,9 @@ KERNEL=="sda1", GOTO="TEST"
KERNEL=="sda1", NAME="wrong"
KERNEL=="sda1", GOTO="BAD"
KERNEL=="sda1", NAME="", LABEL="NO"
-KERNEL=="sda1", NAME="right", LABEL="TEST"
-KERNEL=="sda1", LABEL="BAD"
+KERNEL=="sda1", NAME="right", LABEL="TEST", GOTO="end"
+KERNEL=="sda1", NAME="wrong2", LABEL="BAD"
+LABEL="end"
EOF
},
{