diff options
Diffstat (limited to 'tests/frame.sh')
-rwxr-xr-x | tests/frame.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/frame.sh b/tests/frame.sh index b2b2a70..679817b 100755 --- a/tests/frame.sh +++ b/tests/frame.sh @@ -1,7 +1,10 @@ #!/bin/bash +TESTS_PATH="`dirname \"$0\"`" +TESTS_PATH="`( cd \"$TESTS_PATH\" && pwd )`" + function pci { - PCILIB_PATH="/root/pcitool" + PCILIB_PATH=$TESTS_PATH/.. LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $* } |