Hello,

the test_dma_thread_diotest contains an unnecessary bashism. This patch fixes 
that.

Regards
    Jiri Palecek


Signed-off-by: Jiri Palecek <[email protected]>
---
 .../io/direct_io/test_dma_thread_diotest7.sh       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh 
b/testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh
index 3e7e0b5..6f89710 100755
--- a/testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh
+++ b/testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh
@@ -24,7 +24,7 @@ tst_resm TINFO "Generating Test Files"
 ./dma_thread_diotest7
 
 # test different alignments: 512, 1024, ..., (4096-512)
-for ((i = 512; i < 4096; i+=512))
+for i in $(seq 512 512 4095)
 do
         tst_resm TINFO "i=$i"
         ./dma_thread_diotest7 -a="$i"
-- 
1.6.2


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to