Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[MBI] Make a real copy of 'patterns' into 'replace'.
[simgrid.git] / teshsuite / smpi / MBI / CollP2PMessageRaceGenerator.py
index aa9e78e..2c3233b 100755 (executable)
@@ -131,7 +131,7 @@ for s in gen.send + gen.isend:
             patterns['operation4'] = gen.operation[r]("4")
 
             # Generate the incorrect matching because of the conditional
-            replace = patterns
+            replace = patterns.copy()
             replace['shortdesc'] = 'Message race'
             replace['longdesc'] = 'Message race in @{r}@ with @{c}@.'
             replace['outcome'] = 'ERROR: MessageRace'