From 95bf66af91e06b9bf601ef9756d456316f7a435c Mon Sep 17 00:00:00 2001
From: "Christopher J. Morrone" <morrone2@llnl.gov>
Date: Tue, 19 Dec 2006 23:01:36 +0000
Subject: [PATCH] Fix executable path (./) and use a more simple loop.

---
 testsuite/expect/test7.9 | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/testsuite/expect/test7.9 b/testsuite/expect/test7.9
index 931d32ff349..f8eb960b252 100755
--- a/testsuite/expect/test7.9
+++ b/testsuite/expect/test7.9
@@ -96,14 +96,11 @@ exec $bin_make -f /dev/null $file_prog
 
 make_bash_script $file_in "
   $bin_echo 'testing within script'
-  $file_prog
+  ./$file_prog
   $bin_echo ' '
   $bin_echo 'testing $iterations sets of spawned tasks'
-  inx=1
-  while \[ \$inx -le $iterations \]
-  do
+  for ((i=0; i<$iterations; i++)) ; do
     $srun $file_prog
-    inx=\$((inx+1))
   done
 "
 
-- 
GitLab