chiark / gitweb /
test: replace last reference of "/class/*" devpath
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 29 Sep 2008 03:18:23 +0000 (05:18 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 29 Sep 2008 03:18:23 +0000 (05:18 +0200)
Makefile.am
test/udev-test.pl

index 31c0fca..0963ce8 100644 (file)
@@ -47,4 +47,5 @@ git-release:
        head -1 NEWS | grep -q "udev $(VERSION)"
        git commit -a -m "release $(VERSION)"
        cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
-       git gc --prune
+       git gc
+       git prune
index 576173b..df5e3fc 100755 (executable)
@@ -610,7 +610,7 @@ EOF
        {
                desc            => "permissions USER=bad GROUP=name",
                subsys          => "tty",
-               devpath         => "/class/tty/tty33",
+               devpath         => "/devices/virtual/tty/tty33",
                exp_name        => "tty33",
                exp_perms       => "0:0:0660",
                rules           => <<EOF
@@ -885,7 +885,7 @@ EOF
        {
                desc            => "symlink node to itself",
                subsys          => "tty",
-               devpath         => "/class/tty/tty0",
+               devpath         => "/devices/virtual/tty/tty0",
                exp_name        => "link",
                exp_target      => "link",
                exp_add_error   => "yes",