From 8d89bed8401bfbca9c5ef18f201439b3502e733b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 7 Sep 2008 23:22:08 +0000 Subject: watchdog: add -T option function old new delta watchdog_main 159 219 +60 mdev: support match by major,minor. See bug 4714. +100 bytes. --- testsuite/mdev.tests | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'testsuite') diff --git a/testsuite/mdev.tests b/testsuite/mdev.tests index dad5bdd..2285579 100755 --- a/testsuite/mdev.tests +++ b/testsuite/mdev.tests @@ -98,7 +98,6 @@ brw-r--r-- 1 0 0 a_sda # continuing to use directory structure from prev test rm -rf mdev.testdir/dev/* -# here we complicate things by having non-matching group 1 and using %0 echo "sda 0:0 644 @echo @echo TEST" >mdev.testdir/etc/mdev.conf testing "mdev command" \ "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; @@ -110,6 +109,18 @@ brw-r--r-- 1 0 0 8,0 sda " \ "" "" +# continuing to use directory structure from prev test +rm -rf mdev.testdir/dev/* +echo "@8,0 :1 644" >mdev.testdir/etc/mdev.conf +testing "mdev #maj,min and no explicit uid" \ + "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; + ls -lnR mdev.testdir/dev | $FILTER_LS" \ +"\ +mdev.testdir/dev: +brw-r--r-- 1 0 1 8,0 sda +" \ + "" "" + # clean up rm -rf mdev.testdir -- cgit v1.1