##// END OF EJS Templates
run-tests: update .t reference output after reading the test...
Jun Wu -
r32981:02bca6dc default
parent child Browse files
Show More
@@ -1090,6 +1090,12 b' class TTest(Test):'
1090 lines = f.readlines()
1090 lines = f.readlines()
1091 f.close()
1091 f.close()
1092
1092
1093 # .t file is both reference output and the test input, keep reference
1094 # output updated with the the test input. This avoids some race
1095 # conditions where the reference output does not match the actual test.
1096 if self._refout is not None:
1097 self._refout = lines
1098
1093 salt, script, after, expected = self._parsetest(lines)
1099 salt, script, after, expected = self._parsetest(lines)
1094
1100
1095 # Write out the generated script.
1101 # Write out the generated script.
General Comments 0
You need to be logged in to leave comments. Login now