Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r1575 - trunk: . fsvs/tests

fsvs
Discussion topic

Back to topic list

svn commit: r1575 - trunk: . fsvs/tests

Author pmarek
Full name P.Marek
Date 2008-04-01 22:23:42 PDT
Message Author: pmarek
Date: 2008-04-01 22:23:42-0700
New Revision: 1575

Modified:
   trunk/ (props changed)
   trunk/fsvs/tests/034_status

Log:
Fix test after -ftext change


Modified: trunk/fsvs/tests/034_status
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/trunk/fsvs/tests/0​34_status?view=diff​&rev=1575&p1=​trunk/fsvs/tests/034​_status&p2=trunk​/fsvs/tests/034_stat​us&r1=1574&r​2=1575
====================​====================​====================​==================
--- trunk/fsvs/tests/034_status (original)
+++ trunk/fsvs/tests/034_status 2008-04-01 22:23:42-0700
@@ -65,7 +65,7 @@
 
 # deleted
 rm $file
-FiltMTOGNDA 0 0 0 0 0 1 1
+FiltMTOGNDA 0 1 0 0 0 1 1
 
 # replaced
 mkdir $file
@@ -78,9 +78,6 @@
 $BINq ci -m 2
 rmdir a/b/c/d a/b/c/e a/b/c a/h/u
 
-date > a/h/some
-date > a/h/dir
-
 $BINdflt st -C -o filter=deleted > $logfile
 if [[ `wc -l < $logfile` -ne 4 ||
     `grep -w dir < $logfile | wc -l` -ne 4 ||
@@ -90,14 +87,18 @@
     $ERROR "Status output wrong (deleted directories #1)"
 fi
 
+# The parent directories are changed, and that gets counted, too.
 $BINdflt st -C -o filter=text > $logfile
-if [[ `wc -l < $logfile` -ne 4 ||
- `grep a/ < $logfile | wc -l` -ne 4 ]]
+if [[ `wc -l < $logfile` -ne 6 ||
+ `grep a/ < $logfile | wc -l` -ne 6 ]]
 then
     cat $logfile
     $ERROR "Status output wrong (deleted directories #2)"
 fi
 
+date > a/h/some
+date > a/h/dir
+
 $BINdflt st -C > $logfile
 if [[ `wc -l < $logfile` -ne 8 ||
     `grep a/ < $logfile | wc -l` -ne 8 ]]

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

Messages

Show all messages in topic

svn commit: r1575 - trunk: . fsvs/tests pmarek P.Marek 2008-04-01 22:23:42 PDT
Messages per page: