tests: vm: Honor EPATH in uevent.sh
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>
This commit is contained in:
parent
c4e06b9b7b
commit
05736da8c6
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
EPATH=$(sed 's/.*EPATH=\([^ ]*\) .*/\1/' /proc/cmdline)
|
||||||
|
PATH=/tmp/bin:$EPATH:$PATH
|
||||||
|
|
||||||
# assume this was a call for CRDA,
|
# assume this was a call for CRDA,
|
||||||
# if not then it won't find a COUNTRY
|
# if not then it won't find a COUNTRY
|
||||||
# environment variable and exit
|
# environment variable and exit
|
||||||
|
|
Loading…
Reference in a new issue