Home | History | Annotate | Download | only in src
      1 --- memtest.sh.orig	2004-09-16 11:29:13.000000000 -0700
      2 +++ memtest.sh	2004-09-16 11:30:50.000000000 -0700
      3 @@ -74,21 +74,21 @@
      4  cd $TEST_DIR
      5 
      6  # Remove any possible left over directories from a cancelled previous run
      7 -rm -fr linux linux.orig linux.pass.*
      8 +rm -fr linux-2.6.18 linux.orig linux.pass.*
      9 
     10  # Unpack the one copy of the source tree that we will be comparing against
     11  tar -xzf $SOURCE_FILE
     12 -mv linux linux.orig
     13 +mv linux-2.6.18 linux.orig
     14 
     15  i=0
     16  while [ "$i" -lt "$NR_PASSES" ]; do
     17  j=0
     18  while [ "$j" -lt "$NR_SIMULTANEOUS" ]; do
     19  if [ $PARALLEL = "yes" ]; then
     20 -(mkdir $j; tar -xzf $SOURCE_FILE -C $j; mv $j/linux linux.pass.$j; rmdir $j) &
     21 +(mkdir $j; tar -xzf $SOURCE_FILE -C $j; mv $j/linux-2.6.18 linux.pass.$j; rmdir $j) &
     22  else
     23  tar -xzf $SOURCE_FILE
     24 -mv linux linux.pass.$j
     25 +mv linux-2.6.18 linux.pass.$j
     26  fi
     27  j=`expr $j + 1`
     28  done
     29 @@ -108,7 +108,7 @@
     30  done
     31 
     32  # Clean up after ourselves
     33 -rm -fr linux linux.orig linux.pass.*
     34 +rm -fr linux-2.6.18 linux.orig linux.pass.*
     35 
     36 
     37 
     38