summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-16 04:14:15 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-16 04:14:15 +0100
commitfc55cf68ca0c0db5172a9de7e827c6c3f7c2a308 (patch)
tree8145a2bba92b1806c217ce644acf2cba64879679 /test/udev-test.pl
parent7a7702509259f811d4f8321e64e28dc72037c88b (diff)
remove "udev_db" option from config file
All udev state is kept in /$udev_root/.udev/ now. No option to configure that anymore, it will always be there. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-xtest/udev-test.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 2549c7ee69..c33c79b1c0 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -24,7 +24,6 @@ my $PWD = $ENV{PWD};
my $sysfs = "sys/";
my $udev_bin = "../udev";
my $udev_root = "udev-root/"; # !!! directory will be removed !!!
-my $udev_db = ".udevdb";
my $udev_conf = "udev-test.conf";
my $udev_rules = "udev-test.rules";
@@ -1740,7 +1739,6 @@ sub run_test {
print "\n";
if (defined($rules->{option}) && $rules->{option} eq "clean") {
- system("rm -rf $udev_db");
system("rm -rf $udev_root");
mkdir($udev_root) || die "unable to create udev_root: $udev_root\n";
}
@@ -1761,7 +1759,6 @@ mkdir($udev_root) || die "unable to create udev_root: $udev_root\n";
# create config file
open CONF, ">$udev_conf" || die "unable to create config file: $udev_conf";
print CONF "udev_root=\"$udev_root\"\n";
-print CONF "udev_db=\"$udev_db\"\n";
print CONF "udev_rules=\"$udev_rules\"\n";
print CONF "udev_log=\"info\"\n";
close CONF;
@@ -1791,7 +1788,6 @@ if ($ARGV[0]) {
print "$error errors occured\n\n";
# cleanup
-system("rm -rf $udev_db");
system("rm -rf $udev_root");
unlink($udev_rules);
unlink($udev_conf);