summaryrefslogtreecommitdiff
path: root/tests/09_chardev_add_remove.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/09_chardev_add_remove.sh')
-rwxr-xr-xtests/09_chardev_add_remove.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/09_chardev_add_remove.sh b/tests/09_chardev_add_remove.sh
deleted file mode 100755
index edd7c93..0000000
--- a/tests/09_chardev_add_remove.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-TEST_ID="09"
-TEST_NAME="Character device add and remove"
-
-CREATE=`pwd`/$1
-DEPLOY=`pwd`/$2
-TEST_TOOLS=$3
-
-. ./test_lib.sh
-
-############# Test specific code ############
-
-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
-}
-
-check_results () {
- test -c $ORIGIN/toadd &&
- test ! -c $ORIGIN/toremove
-}
-
-#############################################
-main $@