summaryrefslogtreecommitdiff
path: root/test/replace_test
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-12 07:32:29 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:06:23 -0700
commit75ff8da8ab2e7362ec489fe5280fe5c84fe42741 (patch)
treea3d3a5db7771ca3f95b146a5b9d57a7917ff2517 /test/replace_test
parent139d41e988bae66de1732be74adc09bc5791370d (diff)
[PATCH] add replace test
Diffstat (limited to 'test/replace_test')
-rw-r--r--test/replace_test14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/replace_test b/test/replace_test
new file mode 100644
index 0000000000..3aa8d5a8c9
--- /dev/null
+++ b/test/replace_test
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+export UDEV_TEST=yes
+export SYSFS_PATH=$PWD/sys/
+export UDEV_CONFIG_DIR=$PWD/
+export UDEV_ROOT=$PWD/udev/
+export UDEV_DB=udev.tdb
+export UDEV_CONFIG_FILE=replace_test.config
+export UDEV_PERMISSION_FILE=udev.permissions
+
+export DEVPATH=class/tty/ttyUSB0
+export ACTION=add
+
+../udev tty