diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ipedma/test.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/ipedma/test.sh b/tests/ipedma/test.sh index 62c391a..11a6227 100755 --- a/tests/ipedma/test.sh +++ b/tests/ipedma/test.sh @@ -23,11 +23,12 @@ pci -w 0x4 0x1 #done echo "Reading the data from DMA..." -for i in `seq 1 100`; do - pci -r dma0 --multipacket -s $size -o bench.out +for i in `seq 1 1000`; do + pci -r dma0 --multipacket -s $size -o bench.out --timeout 1000000 +# pci -r dma0 --multipacket -s $size -o /dev/null --timeout 10000000 if [ $? -ne 0 ]; then echo "Stopping DMA due to the error..." - pci --stop-dma dma0r +# pci --stop-dma dma0r exit fi done |