summaryrefslogtreecommitdiffstats
path: root/tests/frame.sh
diff options
context:
space:
mode:
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 $*
}