login
Header Space

 
 

Re: [BUG] t9101 (master) busted on Leopard

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Benoit Sigoure <tsuna@...>
Cc: Git Mailing List <git@...>, Väinö Järvelä <v@...>
Date: Friday, November 16, 2007 - 7:00 am

El 15/11/2007, a las 22:13, Benoit Sigoure escribió:


Inspecting the output of --verbose has allowed me to the point where  
things are failing; look at the very first test in t9101-git-svn- 
props.sh and witness the following:

- before the test we are at revision 1
- there are 3 "svn commits" in the test
- but it looks like only 2 of the commits proceed
- so the revision number goes up to 2 then 3, when it should be 4
- as a result, in one of the later tests we fail because the test  
expects revision 8 but we only have revision 7

Checked out revision 1.
*   ok 1: checkout working copy from svn

* expecting success: cd test_wc &&
		echo Greetings >> kw.c &&
		poke kw.c &&
		svn commit -m "Not yet an Id" &&
		echo Hello world >> kw.c &&
		poke kw.c &&
		svn commit -m "Modified file, but still not yet an Id" &&
		svn propset svn:keywords Id kw.c &&
		poke kw.c &&
		svn commit -m "Propset Id" &&
	cd ..
Sending        kw.c
Transmitting file data .
Committed revision 2.
Sending        kw.c
Transmitting file data .
Committed revision 3.
property 'svn:keywords' set on 'kw.c'
*   ok 2: setup some commits to svn

That last commit is a no-op because, for some reason, the svn propset  
before it is also a no-op:

svn propset svn:keywords Id kw.c

In other words, it echos "property 'svn:keyword' set on 'kw.c'" but if  
I insert an "svn status" as the next command then I get no output at  
all. If I run the exact same commands manually from the terminal then  
they work (ie. it is not a no-op and "svn status" shows that the file  
is modified).

Actually, it's not really a no-op, because if I insert an "svn  
proplist -v kw.c" I get:

Properties on 'kw.c':
   svn:keywords : Id

So the property is being set, it's just that "svn commit" and "svn  
status" don't recognize the file as being modified. The "poke" in the  
test has no effect (file still shows up as unmodified) and only  
modifying the actual content (ie. appending to it by inserting another  
"echo" statement) is enough to make that commit actually happen.

So now we know a bit more about *what* is happening, but I still don't  
know *why*. I'd start to suspect some kind of weird filesystem issue  
if it weren't for the fact that these same commands work when executed  
by hand outside of the test script.

Cheers,
Wincent



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] t9101 (master) busted on Leopard, Wincent Colaiuta, (Thu Nov 15, 9:46 am)
Re: [BUG] t9101 (master) busted on Leopard, Brian Gernhardt, (Thu Nov 15, 12:04 pm)
Re: [BUG] t9101 (master) busted on Leopard, Wincent Colaiuta, (Thu Nov 15, 12:11 pm)
Re: [BUG] t9101 (master) busted on Leopard, Väinö Järvelä, (Fri Nov 16, 12:25 am)
Re: [BUG] t9101 (master) busted on Leopard, Wincent Colaiuta, (Fri Nov 16, 4:37 am)
Re: [BUG] t9101 (master) busted on Leopard, Väinö Järvelä, (Fri Nov 16, 4:59 am)
Re: [BUG] t9101 (master) busted on Leopard, Wincent Colaiuta, (Fri Nov 16, 6:17 am)
Re: [BUG] t9101 (master) busted on Leopard, Benoit Sigoure, (Thu Nov 15, 5:13 pm)
Re: [BUG] t9101 (master) busted on Leopard, Wincent Colaiuta, (Fri Nov 16, 7:00 am)
Re: [BUG] t9101 (master) busted on Leopard, Björn, (Fri Nov 16, 8:48 am)
Re: [PATCH] t9101 (master) busted on Leopard, Wincent Colaiuta, (Fri Nov 16, 9:14 am)
Re: [BUG] t9101 (master) busted on Leopard, Wincent Colaiuta, (Thu Nov 15, 6:22 pm)
speck-geostationary