diff options
author | greg@kroah.com <greg@kroah.com> | 2003-12-17 22:41:04 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:09 -0700 |
commit | d077e50c927209c4157f2696d15f0d1286ada411 (patch) | |
tree | 40576de09a3ffbd2beed0974fca27a11690d7aa2 | |
parent | a81805b9af899087f3d8367721ac0a51460f692e (diff) |
[PATCH] clean up the stand-alone tests to work properly on other people's machines.
-rw-r--r-- | test/label_test | 3 | ||||
-rw-r--r-- | test/modifier_test | 3 | ||||
-rw-r--r-- | test/replace_test | 3 | ||||
-rw-r--r-- | test/topo_test | 3 |
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 |