Fix run_java_fuzz_test.py imports
Make imports works independently of directory the tool is called
from.
Test: run_java_fuzz_test.py
Change-Id: I28cd875948e3e5e58358ecfd6f41e63b808172c9
diff --git a/tools/javafuzz/run_java_fuzz_test.py b/tools/javafuzz/run_java_fuzz_test.py
index 085471f..8764c3d 100755
--- a/tools/javafuzz/run_java_fuzz_test.py
+++ b/tools/javafuzz/run_java_fuzz_test.py
@@ -28,8 +28,8 @@
from tempfile import mkdtemp
-
-sys.path.append(os.path.dirname(os.path.dirname(__file__)))
+sys.path.append(os.path.dirname(os.path.dirname(
+ os.path.realpath(__file__))))
from bisection_search.common import RetCode
from bisection_search.common import CommandListToCommandString