summaryrefslogtreecommitdiffstats
path: root/tests/test-iommu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-iommu.sh')
-rwxr-xr-xtests/test-iommu.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-iommu.sh b/tests/test-iommu.sh
index 74e3ece..5a5924b 100755
--- a/tests/test-iommu.sh
+++ b/tests/test-iommu.sh
@@ -1,5 +1,10 @@
#! /bin/bash
+function pci {
+ PCILIB_PATH=".."
+ LD_LIBRARY_PATH="$PCILIB_PATH/pcilib" $PCILIB_PATH/pcitool/pci $*
+}
+
i=1
while [ 1 ]; do
pci --start-dma dma1r