diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-02 13:07:11 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-02 13:07:11 +0200 |
commit | 90db359972643801300d4139025a25e0ba47c278 (patch) | |
tree | 064f7f299265c1037c0e5d8aff6fe429be77ba4f /testsuite | |
parent | cf4e503875814ce6e4ff8666fb4a0350ca72c6e4 (diff) | |
download | busybox-w32-90db359972643801300d4139025a25e0ba47c278.tar.gz busybox-w32-90db359972643801300d4139025a25e0ba47c278.tar.bz2 busybox-w32-90db359972643801300d4139025a25e0ba47c278.zip |
mdev: set $MDEV correctly for renamed nodes
function old new delta
make_device 1467 1502 +35
build_alias 78 - -78
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/mdev.tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/mdev.tests b/testsuite/mdev.tests index 912785ece..d52f3b10b 100755 --- a/testsuite/mdev.tests +++ b/testsuite/mdev.tests | |||
@@ -136,12 +136,12 @@ brw-r--r-- 1 0 0 8,0 sda | |||
136 | 136 | ||
137 | # continuing to use directory structure from prev test | 137 | # continuing to use directory structure from prev test |
138 | rm -rf mdev.testdir/dev/* | 138 | rm -rf mdev.testdir/dev/* |
139 | echo "sda 0:0 644 =block/ @echo @echo TEST" >mdev.testdir/etc/mdev.conf | 139 | echo "sda 0:0 644 =block/ @echo @echo TEST:\$MDEV" >mdev.testdir/etc/mdev.conf |
140 | testing "mdev move and command" \ | 140 | testing "mdev move and command" \ |
141 | "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; | 141 | "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; |
142 | ls -lnR mdev.testdir/dev | $FILTER_LS2" \ | 142 | ls -lnR mdev.testdir/dev | $FILTER_LS2" \ |
143 | "\ | 143 | "\ |
144 | @echo TEST | 144 | @echo TEST:block/sda |
145 | mdev.testdir/dev: | 145 | mdev.testdir/dev: |
146 | drwxr-xr-x 2 0 0 block | 146 | drwxr-xr-x 2 0 0 block |
147 | 147 | ||