--- a/action/test2 Tue Dec 15 13:52:23 2009 +0000
+++ b/action/test2 Tue Dec 15 14:28:27 2009 +0000
@@ -14,10 +14,12 @@
echo "Pulling real project"
hg clone ssh://chroothg/real/project
cd project
-echo "and I'm adding something" >> content
+echo "and I'm adding something" >> allowedhere/content
hg commit -u test2 -m "Added something to the file"
+echo "This push should succeed"
hg push
-echo "This should fail" >> special/cantwrite
+echo "And it did"
+echo "This should fail" >> cantwrite
hg commit -u test2 -m "WONTPUSH"
# Fail only if this succeeds
echo "About to do bad push"