diff options
Diffstat (limited to 'tests/test-lz4-list.py')
-rw-r--r-- | tests/test-lz4-list.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-lz4-list.py b/tests/test-lz4-list.py index 4738e99..ce89757 100644 --- a/tests/test-lz4-list.py +++ b/tests/test-lz4-list.py @@ -8,9 +8,9 @@ import unittest SIZES = [3, 11] # Always 2 sizes MIB = 1048576 -LZ4 = os.getcwd() + "/../lz4" +LZ4 = os.path.dirname(os.path.realpath(__file__)) + "/../lz4" if not os.path.exists(LZ4): - LZ4 = os.getcwd() + "/../programs/lz4" + LZ4 = os.path.dirname(os.path.realpath(__file__)) + "/../programs/lz4" TEMP = tempfile.gettempdir() |