projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e06b9
)
tests: vm: Honor EPATH in uevent.sh
author
Johannes Berg
<johannes.berg@intel.com>
Fri, 11 Dec 2015 16:44:23 +0000
(17:44 +0100)
committer
Jouni Malinen
<j@w1.fi>
Thu, 17 Dec 2015 22:24:51 +0000
(
00:24
+0200)
This is useful for testing CRDA since it means you can use EPATH to
redirect the test scripts to a different crda binary.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/vm/uevent.sh
patch
|
blob
|
history
diff --git
a/tests/hwsim/vm/uevent.sh
b/tests/hwsim/vm/uevent.sh
index
d52f7fc
..
76e31e7
100755
(executable)
--- a/
tests/hwsim/vm/uevent.sh
+++ b/
tests/hwsim/vm/uevent.sh
@@
-1,5
+1,8
@@
#!/bin/sh
+EPATH=$(sed 's/.*EPATH=\([^ ]*\) .*/\1/' /proc/cmdline)
+PATH=/tmp/bin:$EPATH:$PATH
+
# assume this was a call for CRDA,
# if not then it won't find a COUNTRY
# environment variable and exit