mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-27 01:55:32 +03:00
[PATCH] fix up the tests to support the rules file name change
This commit is contained in:
parent
e8bacccab2
commit
fd9594b61f
@ -6,6 +6,7 @@ export UDEV_CONFIG_DIR=$PWD/
|
||||
export UDEV_ROOT=$PWD/udev/
|
||||
export UDEV_DB=udev.tdb
|
||||
export UDEV_CONFIG_FILE=label_test.config
|
||||
export UDEV_RULES_FILE=label_test.rules
|
||||
export UDEV_PERMISSION_FILE=udev.permissions
|
||||
|
||||
export ACTION=add
|
||||
|
@ -6,6 +6,7 @@ export UDEV_CONFIG_DIR=$PWD/
|
||||
export UDEV_ROOT=$PWD/udev/
|
||||
export UDEV_DB=udev.tdb
|
||||
export UDEV_CONFIG_FILE=modifier_test.config
|
||||
export UDEV_RULES_FILE=modifier_test.rules
|
||||
export UDEV_PERMISSION_FILE=udev.permissions
|
||||
|
||||
export ACTION=add
|
||||
|
@ -6,6 +6,7 @@ export UDEV_CONFIG_DIR=$PWD/
|
||||
export UDEV_ROOT=$PWD/udev/
|
||||
export UDEV_DB=udev.tdb
|
||||
export UDEV_CONFIG_FILE=replace_test.config
|
||||
export UDEV_RULES_FILE=replace_test.rules
|
||||
export UDEV_PERMISSION_FILE=udev.permissions
|
||||
|
||||
export DEVPATH=class/tty/ttyUSB0
|
||||
|
@ -6,6 +6,7 @@ export UDEV_CONFIG_DIR=$PWD/
|
||||
export UDEV_ROOT=$PWD/udev/
|
||||
export UDEV_DB=udev.tdb
|
||||
export UDEV_CONFIG_FILE=topo_test.config
|
||||
export UDEV_RULES_FILE=topo_test.rules
|
||||
export UDEV_PERMISSION_FILE=udev.permissions
|
||||
|
||||
export ACTION=add
|
||||
|
@ -161,7 +161,7 @@ sub udev {
|
||||
my ($action, $subsys, $devpath, $config) = @_;
|
||||
|
||||
$ENV{DEVPATH} = $devpath;
|
||||
$ENV{UDEV_CONFIG_FILE} = $conf_tmp;
|
||||
$ENV{UDEV_RULES_FILE} = $conf_tmp;
|
||||
|
||||
# create temporary config
|
||||
open CONF, ">$conf_tmp" || die "unable to create config file: $conf_tmp";
|
||||
|
Loading…
Reference in New Issue
Block a user