Patchwork [2,of,3] tests: append missing glob to filename output and check-code it

login
register
mail settings
Submitter Simon Heimberg
Date March 7, 2013, 5:57 a.m.
Message ID <8f4f22db22c360b1f641.1362635873@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/1084/
State Accepted
Commit b1a42a6087ca77cb514d60752c6a1123e551e3cf
Headers show

Comments

Simon Heimberg - March 7, 2013, 5:57 a.m.
# HG changeset patch
# User Simon Heimberg <simohe@besonet.ch>
# Date 1362092631 -3600
# Node ID 8f4f22db22c360b1f6418230852f6b5eb06d3eb2
# Parent  a320d672282cb5468eaddf3f08499261d43c390c
tests: append missing glob to filename output and check-code it

Patch

diff -r a320d672282c -r 8f4f22db22c3 contrib/check-code.py
--- a/contrib/check-code.py	Don Feb 28 23:45:51 2013 +0100
+++ b/contrib/check-code.py	Fre Mär 01 00:03:51 2013 +0100
@@ -103,6 +103,7 @@ 
     (uprefix + r'set -e', "don't use set -e"),
     (uprefix + r'\s', "don't indent commands, use > for continued lines"),
     (r'^  saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg),
+    (r'^  changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$', winglobmsg),
   ],
   # warnings
   [
diff -r a320d672282c -r 8f4f22db22c3 tests/test-largefiles.t
--- a/tests/test-largefiles.t	Don Feb 28 23:45:51 2013 +0100
+++ b/tests/test-largefiles.t	Fre Mär 01 00:03:51 2013 +0100
@@ -1224,9 +1224,9 @@ 
   changeset 3:9e8fbc4bce62: large1 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 (glob)
   changeset 4:74c02385b94c: large3 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 (glob)
   changeset 4:74c02385b94c: sub/large4 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 (glob)
-  changeset 5:9d5af5072dbd: large3 references missing $TESTTMP/d/.hg/largefiles/baaf12afde9d8d67f25dab6dced0d2bf77dba47c
-  changeset 5:9d5af5072dbd: sub/large4 references missing $TESTTMP/d/.hg/largefiles/aeb2210d19f02886dde00dac279729a48471e2f9
-  changeset 6:4355d653f84f: large3 references missing $TESTTMP/d/.hg/largefiles/7838695e10da2bb75ac1156565f40a2595fa2fa0
+  changeset 5:9d5af5072dbd: large3 references missing $TESTTMP/d/.hg/largefiles/baaf12afde9d8d67f25dab6dced0d2bf77dba47c (glob)
+  changeset 5:9d5af5072dbd: sub/large4 references missing $TESTTMP/d/.hg/largefiles/aeb2210d19f02886dde00dac279729a48471e2f9 (glob)
+  changeset 6:4355d653f84f: large3 references missing $TESTTMP/d/.hg/largefiles/7838695e10da2bb75ac1156565f40a2595fa2fa0 (glob)
   [1]
 
 - cleanup