diff options
author | Denis Vlasenko | 2008-09-07 23:22:08 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-09-07 23:22:08 +0000 |
commit | 8d89bed8401bfbca9c5ef18f201439b3502e733b (patch) | |
tree | b5db7bd373d32b4891610cd2c58f6307d4808447 /testsuite/mdev.tests | |
parent | ee9deb863e089e1b607cc5771123257c3223bea0 (diff) | |
download | busybox-8d89bed8401bfbca9c5ef18f201439b3502e733b.zip busybox-8d89bed8401bfbca9c5ef18f201439b3502e733b.tar.gz |
watchdog: add -T option
function old new delta
watchdog_main 159 219 +60
mdev: support match by major,minor. See bug 4714.
+100 bytes.
Diffstat (limited to 'testsuite/mdev.tests')
-rwxr-xr-x | testsuite/mdev.tests | 13 |
1 files changed, 12 insertions, 1 deletions
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 |