diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2013-11-26 20:50:34 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2013-11-26 20:50:34 +0100 |
commit | 57ca91fd955dd228f208000de1c2fa2bc4a0e317 (patch) | |
tree | c0f78e7ac4181b27bcc3cabbc53068692e253fdb /tests/frame.sh | |
parent | d34069a3cb882bf4f2a2f6353f69ed1cce4b27af (diff) | |
download | pcitool-57ca91fd955dd228f208000de1c2fa2bc4a0e317.tar.gz pcitool-57ca91fd955dd228f208000de1c2fa2bc4a0e317.tar.bz2 pcitool-57ca91fd955dd228f208000de1c2fa2bc4a0e317.tar.xz pcitool-57ca91fd955dd228f208000de1c2fa2bc4a0e317.zip |
Adjustments to test scripts
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 $* } |