Commit e172e7c
committed
Fix protocol_version_mismatch race condition in 3.1.3 golden file
When rsync 3.1.3 outputs protocol mismatch errors, the sender and
receiver processes may write concurrently without proper newline
separation, resulting in concatenated messages like:
"(see the rsync man page for an explanation)protocol version mismatch..."
Convert the two separate expected messages into a message_group that
accepts:
- Individual messages (when output is properly separated)
- Concatenated forms (when race condition occurs)
This allows the interop validation to pass regardless of which timing
behavior occurs during the test.1 parent 4377686 commit e172e7c
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
27 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
0 commit comments