summaryrefslogtreecommitdiffstats
path: root/tests/nwldma
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nwldma')
-rwxr-xr-xtests/nwldma/bench.sh4
-rwxr-xr-xtests/nwldma/cleanup.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/nwldma/bench.sh b/tests/nwldma/bench.sh
index b36c251..d0bf323 100755
--- a/tests/nwldma/bench.sh
+++ b/tests/nwldma/bench.sh
@@ -1,8 +1,8 @@
#!/bin/bash
function pci {
- PCILIB_PATH="/root/pcitool"
- LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $*
+ PCILIB_PATH="../.."
+ LD_LIBRARY_PATH="$PCILIB_PATH/pcilib" $PCILIB_PATH/pcitool/pci $*
}
size=16
diff --git a/tests/nwldma/cleanup.sh b/tests/nwldma/cleanup.sh
index 5ef568e..87e1517 100755
--- a/tests/nwldma/cleanup.sh
+++ b/tests/nwldma/cleanup.sh
@@ -1,8 +1,8 @@
#!/bin/bash
function pci {
- PCILIB_PATH="/root/pcitool"
- LD_LIBRARY_PATH="$PCILIB_PATH" $PCILIB_PATH/pci $*
+ PCILIB_PATH="../.."
+ LD_LIBRARY_PATH="$PCILIB_PATH/pcilib" $PCILIB_PATH/pcitool/pci $*
}
pci --start-dma dma1r