From: greg@kroah.com Date: Wed, 12 Nov 2003 15:32:29 +0000 (-0800) Subject: [PATCH] add replace test X-Git-Tag: 006~39 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ff8da8ab2e7362ec489fe5280fe5c84fe42741;p=systemd [PATCH] add replace test --- diff --git a/test/replace_test b/test/replace_test new file mode 100644 index 00000000..3aa8d5a8 --- /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 diff --git a/test/replace_test.config b/test/replace_test.config new file mode 100644 index 00000000..8fbfd181 --- /dev/null +++ b/test/replace_test.config @@ -0,0 +1,3 @@ +# REPLACE test +REPLACE, KERNEL="ttyUSB0", NAME="visor" +