summaryrefslogtreecommitdiffstats
path: root/tests/test-iommu.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-24 05:35:48 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-24 05:35:48 +0200
commitdcd8ad63316eac672492bc18112bbbb52811c3fc (patch)
tree321ed207442ebfe9b1feb8375de03847ed2e2de3 /tests/test-iommu.sh
parent5f6fb4e4e77f121e0756744df8498520d4deddb8 (diff)
downloadpcitool-dcd8ad63316eac672492bc18112bbbb52811c3fc.tar.gz
pcitool-dcd8ad63316eac672492bc18112bbbb52811c3fc.tar.bz2
pcitool-dcd8ad63316eac672492bc18112bbbb52811c3fc.tar.xz
pcitool-dcd8ad63316eac672492bc18112bbbb52811c3fc.zip
More structural changes to get ready for stand-alone event engines
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