summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/label_test3
-rw-r--r--test/modifier_test3
-rw-r--r--test/replace_test3
-rw-r--r--test/topo_test3
4 files changed, 12 insertions, 0 deletions
diff --git a/test/label_test b/test/label_test
index 09ccab366e..2e05692581 100644
--- a/test/label_test
+++ b/test/label_test
@@ -18,6 +18,8 @@ udev_rules="$PWD/$RULES"
udev_permissions="$PWD/udev.permissions"
EOF
+mkdir udev
+
export ACTION=add
export DEVPATH=block/sda
@@ -43,3 +45,4 @@ ls -l udev
rm $RULES
rm $CONFIG
+rm -rf udev
diff --git a/test/modifier_test b/test/modifier_test
index bbe072e58c..9af946e598 100644
--- a/test/modifier_test
+++ b/test/modifier_test
@@ -18,6 +18,8 @@ udev_rules="$PWD/$RULES"
udev_permissions="$PWD/udev.permissions"
EOF
+mkdir udev
+
export ACTION=add
export DEVPATH=block/sda
@@ -42,3 +44,4 @@ ls udev
rm $RULES
rm $CONFIG
+rm -rf udev
diff --git a/test/replace_test b/test/replace_test
index 375c8dced3..9ed366e358 100644
--- a/test/replace_test
+++ b/test/replace_test
@@ -18,6 +18,8 @@ udev_rules="$PWD/$RULES"
udev_permissions="$PWD/udev.permissions"
EOF
+mkdir udev
+
export DEVPATH=class/tty/ttyUSB0
export ACTION=add
@@ -30,3 +32,4 @@ ls -l udev
rm $RULES
rm $CONFIG
+rm -rf udev
diff --git a/test/topo_test b/test/topo_test
index 9225685c8c..385f415893 100644
--- a/test/topo_test
+++ b/test/topo_test
@@ -18,6 +18,8 @@ udev_rules="$PWD/$RULES"
udev_permissions="$PWD/udev.permissions"
EOF
+mkdir udev
+
export ACTION=add
export DEVPATH=block/sda
@@ -42,3 +44,4 @@ ls udev
rm $RULES
rm $CONFIG
+rm -rf udev