summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-29 05:18:23 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-29 05:18:23 +0200
commit5c0f595d91a21b1fba2b9edd89511a072036d0e8 (patch)
treeae274a04fcd2c5933a6c2b1c0dde195ee9b9ab31
parentd0f398bc25636ff5ae2146ac283103a4766c0dca (diff)
test: replace last reference of "/class/*" devpath
-rw-r--r--Makefile.am3
-rwxr-xr-xtest/udev-test.pl4
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 31c0fca183..0963ce828e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 576173b40a..df5e3fcb2a 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -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",