Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r365 - trunk: . fsvs/src/test

fsvs
Discussion topic

Back to topic list

svn commit: r365 - trunk: . fsvs/src/test

Author pmarek
Full name P.Marek
Date 2006-08-06 12:42:46 PDT
Message Author: pmarek
Date: 2006-08-06 12:42:45-0700
New Revision: 365

Modified:
   trunk/ (props changed)
   trunk/fsvs/src/test/​019_many_files

Log:
The test with *many* files now prints some kind of progress report.



Modified: trunk/fsvs/src/test/​019_many_files
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/trunk/fsvs/src/tes​t/019_many_files?vie​w=diff&rev=365​&p1=trunk/fsvs/src​/test/019_many_files​&p2=trunk/fsvs/s​rc/test/019_many_fil​es&r1=364&r2​=365
====================​====================​====================​==================
--- trunk/fsvs/src/test/​019_many_files (original)
+++ trunk/fsvs/src/test/​019_many_files 2006-08-06 12:42:45-0700
@@ -11,10 +11,16 @@
 seq2=`seq 1 $COUNT2`
 seq3=`seq 1 $COUNT3`
 
+# We have to escape ( ) and *, as the shell would try to interpret these.
+exp_count=`expr $COUNT1 \* \( $COUNT2 \* \( $COUNT3 + 1 \) + 1 \) + 1`
+
+echo -n "Generating $exp_count entries: "
+
 sleep 1
 
 for lev1 in $seq1
 do
+ echo -n "."
     mkdir $lev1
     cd $lev1
     for lev2 in $seq2
@@ -30,8 +36,8 @@
     cd ..
 done
 
-# We have to escape ( ) and *, as the shell would try to interpret these.
-exp_count=`expr $COUNT1 \* \( $COUNT2 \* \( $COUNT3 + 1 \) + 1 \) + 1`
+echo "!"
+echo "Looking for them."
 
 found=`$BINdflt st | wc -l`
 if [[ $found -eq $exp_count ]]

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r365 - trunk: . fsvs/src/test pmarek P.Marek 2006-08-06 12:42:46 PDT
Messages per page: