diff --git a/tests/hwsim/vm/uevent.sh b/tests/hwsim/vm/uevent.sh index d52f7fcc1..76e31e76d 100755 --- 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