##// END OF EJS Templates
stream-requirements: smoother matching in test-ssh-proto-unbundle.t...
marmoute -
r49492:77f8f8ca default
parent child Browse files
Show More
@@ -50,9 +50,9 b' Test pushing bundle1 payload to a server'
50 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
50 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
51 i> flush() -> None
51 i> flush() -> None
52 o> readline() -> 4:
52 o> readline() -> 4:
53 o> 444\n
53 o> \d+\\n (re)
54 o> readline() -> 444:
54 o> readline\(\) -> \d+: (re)
55 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
55 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
56 o> readline() -> 2:
56 o> readline() -> 2:
57 o> 1\n
57 o> 1\n
58 o> readline() -> 1:
58 o> readline() -> 1:
@@ -179,9 +179,9 b' ui.write() in hook is redirected to stde'
179 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
179 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
180 i> flush() -> None
180 i> flush() -> None
181 o> readline() -> 4:
181 o> readline() -> 4:
182 o> 444\n
182 o> \d+\\n (re)
183 o> readline() -> 444:
183 o> readline\(\) -> \d+: (re)
184 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
184 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
185 o> readline() -> 2:
185 o> readline() -> 2:
186 o> 1\n
186 o> 1\n
187 o> readline() -> 1:
187 o> readline() -> 1:
@@ -247,10 +247,10 b' And a variation that writes multiple lin'
247 i> pairs 81\n
247 i> pairs 81\n
248 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
248 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
249 i> flush() -> None
249 i> flush() -> None
250 o> readline() -> 4:
250 o> readline\(\) -> \d+: (re)
251 o> 444\n
251 o> \d+\\n (re)
252 o> readline() -> 444:
252 o> readline\(\) -> \d+: (re)
253 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
253 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
254 o> readline() -> 2:
254 o> readline() -> 2:
255 o> 1\n
255 o> 1\n
256 o> readline() -> 1:
256 o> readline() -> 1:
@@ -318,9 +318,9 b' And a variation that does a ui.flush() a'
318 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
318 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
319 i> flush() -> None
319 i> flush() -> None
320 o> readline() -> 4:
320 o> readline() -> 4:
321 o> 444\n
321 o> \d+\\n (re)
322 o> readline() -> 444:
322 o> readline\(\) -> \d+: (re)
323 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
323 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
324 o> readline() -> 2:
324 o> readline() -> 2:
325 o> 1\n
325 o> 1\n
326 o> readline() -> 1:
326 o> readline() -> 1:
@@ -387,9 +387,9 b' Multiple writes + flush'
387 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
387 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
388 i> flush() -> None
388 i> flush() -> None
389 o> readline() -> 4:
389 o> readline() -> 4:
390 o> 444\n
390 o> \d+\\n (re)
391 o> readline() -> 444:
391 o> readline\(\) -> \d+: (re)
392 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
392 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
393 o> readline() -> 2:
393 o> readline() -> 2:
394 o> 1\n
394 o> 1\n
395 o> readline() -> 1:
395 o> readline() -> 1:
@@ -457,9 +457,9 b' ui.write() + ui.write_err() output is ca'
457 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
457 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
458 i> flush() -> None
458 i> flush() -> None
459 o> readline() -> 4:
459 o> readline() -> 4:
460 o> 444\n
460 o> \d+\\n (re)
461 o> readline() -> 444:
461 o> readline\(\) -> \d+: (re)
462 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
462 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
463 o> readline() -> 2:
463 o> readline() -> 2:
464 o> 1\n
464 o> 1\n
465 o> readline() -> 1:
465 o> readline() -> 1:
@@ -530,9 +530,9 b' print() output is captured'
530 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
530 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
531 i> flush() -> None
531 i> flush() -> None
532 o> readline() -> 4:
532 o> readline() -> 4:
533 o> 444\n
533 o> \d+\\n (re)
534 o> readline() -> 444:
534 o> readline\(\) -> \d+: (re)
535 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
535 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
536 o> readline() -> 2:
536 o> readline() -> 2:
537 o> 1\n
537 o> 1\n
538 o> readline() -> 1:
538 o> readline() -> 1:
@@ -599,9 +599,9 b' Mixed print() and ui.write() are both ca'
599 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
599 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
600 i> flush() -> None
600 i> flush() -> None
601 o> readline() -> 4:
601 o> readline() -> 4:
602 o> 444\n
602 o> \d+\\n (re)
603 o> readline() -> 444:
603 o> readline\(\) -> \d+: (re)
604 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
604 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
605 o> readline() -> 2:
605 o> readline() -> 2:
606 o> 1\n
606 o> 1\n
607 o> readline() -> 1:
607 o> readline() -> 1:
@@ -671,9 +671,9 b' print() to stdout and stderr both get ca'
671 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
671 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
672 i> flush() -> None
672 i> flush() -> None
673 o> readline() -> 4:
673 o> readline() -> 4:
674 o> 444\n
674 o> \d+\\n (re)
675 o> readline() -> 444:
675 o> readline\(\) -> \d+: (re)
676 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
676 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
677 o> readline() -> 2:
677 o> readline() -> 2:
678 o> 1\n
678 o> 1\n
679 o> readline() -> 1:
679 o> readline() -> 1:
@@ -749,9 +749,9 b' Shell hook writing to stdout has output '
749 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
749 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
750 i> flush() -> None
750 i> flush() -> None
751 o> readline() -> 4:
751 o> readline() -> 4:
752 o> 444\n
752 o> \d+\\n (re)
753 o> readline() -> 444:
753 o> readline\(\) -> \d+: (re)
754 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
754 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
755 o> readline() -> 2:
755 o> readline() -> 2:
756 o> 1\n
756 o> 1\n
757 o> readline() -> 1:
757 o> readline() -> 1:
@@ -819,9 +819,9 b' Shell hook writing to stderr has output '
819 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
819 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
820 i> flush() -> None
820 i> flush() -> None
821 o> readline() -> 4:
821 o> readline() -> 4:
822 o> 444\n
822 o> \d+\\n (re)
823 o> readline() -> 444:
823 o> readline\(\) -> \d+: (re)
824 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
824 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
825 o> readline() -> 2:
825 o> readline() -> 2:
826 o> 1\n
826 o> 1\n
827 o> readline() -> 1:
827 o> readline() -> 1:
@@ -891,9 +891,9 b' Shell hook writing to stdout and stderr '
891 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
891 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
892 i> flush() -> None
892 i> flush() -> None
893 o> readline() -> 4:
893 o> readline() -> 4:
894 o> 444\n
894 o> \d+\\n (re)
895 o> readline() -> 444:
895 o> readline\(\) -> \d+: (re)
896 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
896 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
897 o> readline() -> 2:
897 o> readline() -> 2:
898 o> 1\n
898 o> 1\n
899 o> readline() -> 1:
899 o> readline() -> 1:
@@ -971,9 +971,9 b' Shell and Python hooks writing to stdout'
971 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
971 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
972 i> flush() -> None
972 i> flush() -> None
973 o> readline() -> 4:
973 o> readline() -> 4:
974 o> 444\n
974 o> \d+\\n (re)
975 o> readline() -> 444:
975 o> readline\(\) -> \d+: (re)
976 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
976 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
977 o> readline() -> 2:
977 o> readline() -> 2:
978 o> 1\n
978 o> 1\n
979 o> readline() -> 1:
979 o> readline() -> 1:
@@ -1046,9 +1046,9 b' Pushing a bundle1 with no output'
1046 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1046 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1047 i> flush() -> None
1047 i> flush() -> None
1048 o> readline() -> 4:
1048 o> readline() -> 4:
1049 o> 444\n
1049 o> \d+\\n (re)
1050 o> readline() -> 444:
1050 o> readline\(\) -> \d+: (re)
1051 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
1051 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
1052 o> readline() -> 2:
1052 o> readline() -> 2:
1053 o> 1\n
1053 o> 1\n
1054 o> readline() -> 1:
1054 o> readline() -> 1:
@@ -1123,9 +1123,9 b' Pushing a bundle1 with ui.write() and ui'
1123 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1123 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1124 i> flush() -> None
1124 i> flush() -> None
1125 o> readline() -> 4:
1125 o> readline() -> 4:
1126 o> 444\n
1126 o> \d+\\n (re)
1127 o> readline() -> 444:
1127 o> readline\(\) -> \d+: (re)
1128 o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n
1128 o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re)
1129 o> readline() -> 2:
1129 o> readline() -> 2:
1130 o> 1\n
1130 o> 1\n
1131 o> readline() -> 1:
1131 o> readline() -> 1:
General Comments 0
You need to be logged in to leave comments. Login now