summaryrefslogtreecommitdiffstats
path: root/tests/frame.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-26 20:50:34 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-26 20:50:34 +0100
commit57ca91fd955dd228f208000de1c2fa2bc4a0e317 (patch)
treec0f78e7ac4181b27bcc3cabbc53068692e253fdb /tests/frame.sh
parentd34069a3cb882bf4f2a2f6353f69ed1cce4b27af (diff)
downloadpcitool-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-xtests/frame.sh5
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 $*
}