diff options
Diffstat (limited to 'tests/09_chardev_add_remove.sh')
-rwxr-xr-x | tests/09_chardev_add_remove.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/09_chardev_add_remove.sh b/tests/09_chardev_add_remove.sh index cb4212c..edd7c93 100755 --- a/tests/09_chardev_add_remove.sh +++ b/tests/09_chardev_add_remove.sh @@ -11,10 +11,13 @@ TEST_TOOLS=$3 ############# Test specific code ############ -setup () { - #make a node with the same numbers as /dev/null - setup_block_major_minor="`stat /dev/null -c '%t %T'`" +setup_block_major_minor="`stat /dev/null -c '%t %T'`" + +setup_origin () { mknod $ORIGIN/toremove c $setup_block_major_minor +} + +setup_target () { mknod $TARGET/toadd c $setup_block_major_minor } |