summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-06-14 16:32:52 +0200
committerKay Sievers <kay.sievers@suse.de>2006-06-14 16:32:52 +0200
commitfa33d857e2cdd65d3de2f88021ecacf167fc21f0 (patch)
tree0267347e95dcf04ae57df4baa0054d7502f7cb5b /test/udev-test.pl
parentafb66e32335d7bea55b015855089df4779916829 (diff)
don't remove symlinks if they are already there
Consecutive "add" events will not remove and recreate the same symlinks anymore. No longer valid links, like after changing a filesystem label, will still be removed.
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-xtest/udev-test.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 33da68a386..fafaa96ab6 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -862,6 +862,7 @@ EOF
devpath => "/class/tty/tty0",
exp_name => "link",
exp_target => "link",
+ exp_add_error => "yes",
exp_rem_error => "yes",
option => "clean",
rules => <<EOF