From 57ca91fd955dd228f208000de1c2fa2bc4a0e317 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 26 Nov 2013 20:50:34 +0100 Subject: Adjustments to test scripts --- tests/frame.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/frame.sh') 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 $* } -- cgit v1.2.3