summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-26 14:31:46 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-10-26 14:31:46 +0100
commit427e20b261b056cf781af75ff60f067714b750bb (patch)
tree8e64cadf4f878ed44ff50b6883146054ad96cbf1 /test
parentc6243a414e5ea233862445db0e57d6033879985f (diff)
libudev: device - allocate envp array only once
Diffstat (limited to 'test')
-rwxr-xr-xtest/udev-test.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 096977a611..95f9af0e2b 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -1663,10 +1663,11 @@ EOF
exp_name => "sda-8741C4G-end",
exp_perms => "0:0:0660",
rules => <<EOF
+KERNEL=="sda", PROGRAM="/bin/true create-envp"
+KERNEL=="sda", ENV{TESTENV}="change-envp"
KERNEL=="sda", NAME="%k-%s{[dmi/id]product_name}-end", RUN+="socket:@/org/kernel/udev/monitor"
EOF
},
-
);
# set env