aboutsummaryrefslogtreecommitdiff
path: root/testsuite/mdev.tests
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-07 23:22:08 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-07 23:22:08 +0000
commit8d89bed8401bfbca9c5ef18f201439b3502e733b (patch)
treeb5db7bd373d32b4891610cd2c58f6307d4808447 /testsuite/mdev.tests
parentee9deb863e089e1b607cc5771123257c3223bea0 (diff)
downloadbusybox-w32-8d89bed8401bfbca9c5ef18f201439b3502e733b.tar.gz
busybox-w32-8d89bed8401bfbca9c5ef18f201439b3502e733b.tar.bz2
busybox-w32-8d89bed8401bfbca9c5ef18f201439b3502e733b.zip
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-xtestsuite/mdev.tests13
1 files changed, 12 insertions, 1 deletions
diff --git a/testsuite/mdev.tests b/testsuite/mdev.tests
index dad5bddb8..22855791a 100755
--- a/testsuite/mdev.tests
+++ b/testsuite/mdev.tests
@@ -98,7 +98,6 @@ brw-r--r-- 1 0 0 a_sda
98 98
99# continuing to use directory structure from prev test 99# continuing to use directory structure from prev test
100rm -rf mdev.testdir/dev/* 100rm -rf mdev.testdir/dev/*
101# here we complicate things by having non-matching group 1 and using %0
102echo "sda 0:0 644 @echo @echo TEST" >mdev.testdir/etc/mdev.conf 101echo "sda 0:0 644 @echo @echo TEST" >mdev.testdir/etc/mdev.conf
103testing "mdev command" \ 102testing "mdev command" \
104 "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; 103 "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
110" \ 109" \
111 "" "" 110 "" ""
112 111
112# continuing to use directory structure from prev test
113rm -rf mdev.testdir/dev/*
114echo "@8,0 :1 644" >mdev.testdir/etc/mdev.conf
115testing "mdev #maj,min and no explicit uid" \
116 "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
117 ls -lnR mdev.testdir/dev | $FILTER_LS" \
118"\
119mdev.testdir/dev:
120brw-r--r-- 1 0 1 8,0 sda
121" \
122 "" ""
123
113# clean up 124# clean up
114rm -rf mdev.testdir 125rm -rf mdev.testdir
115 126