diff options
Diffstat (limited to 'testsuite/mdev.tests')
-rwxr-xr-x | testsuite/mdev.tests | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/mdev.tests b/testsuite/mdev.tests index 22855791a..90379e668 100755 --- a/testsuite/mdev.tests +++ b/testsuite/mdev.tests | |||
@@ -111,6 +111,22 @@ brw-r--r-- 1 0 0 8,0 sda | |||
111 | 111 | ||
112 | # continuing to use directory structure from prev test | 112 | # continuing to use directory structure from prev test |
113 | rm -rf mdev.testdir/dev/* | 113 | rm -rf mdev.testdir/dev/* |
114 | echo "sda 0:0 644 =block/ @echo @echo TEST" >mdev.testdir/etc/mdev.conf | ||
115 | testing "mdev move and command" \ | ||
116 | "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; | ||
117 | ls -lnR mdev.testdir/dev | $FILTER_LS2" \ | ||
118 | "\ | ||
119 | @echo TEST | ||
120 | mdev.testdir/dev: | ||
121 | drwxr-xr-x 2 0 0 block | ||
122 | |||
123 | mdev.testdir/dev/block: | ||
124 | brw-r--r-- 1 0 0 sda | ||
125 | " \ | ||
126 | "" "" | ||
127 | |||
128 | # continuing to use directory structure from prev test | ||
129 | rm -rf mdev.testdir/dev/* | ||
114 | echo "@8,0 :1 644" >mdev.testdir/etc/mdev.conf | 130 | echo "@8,0 :1 644" >mdev.testdir/etc/mdev.conf |
115 | testing "mdev #maj,min and no explicit uid" \ | 131 | testing "mdev #maj,min and no explicit uid" \ |
116 | "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; | 132 | "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; |