chiark / gitweb /
[PATCH] fix up the tests to support the rules file name change
[elogind.git] / test / replace_test
1 #!/bin/bash
2
3 export UDEV_TEST=yes
4 export SYSFS_PATH=$PWD/sys/
5 export UDEV_CONFIG_DIR=$PWD/
6 export UDEV_ROOT=$PWD/udev/
7 export UDEV_DB=udev.tdb
8 export UDEV_CONFIG_FILE=replace_test.config
9 export UDEV_RULES_FILE=replace_test.rules
10 export UDEV_PERMISSION_FILE=udev.permissions
11
12 export DEVPATH=class/tty/ttyUSB0
13 export ACTION=add
14
15 ../udev tty
16 ls -l udev
17
18 export ACTION=remove
19 ../udev tty
20 ls -l udev
21
22