run-tests: fix --interactive option
``TTest._testpath`` never existed. This must be the remain of some contributors
side refactoring.
--- a/tests/run-tests.py Sat May 17 00:38:48 2014 -0700
+++ b/tests/run-tests.py Sat May 17 00:47:42 2014 -0700
@@ -590,9 +590,9 @@
iolock.release()
if answer.lower() in ('y', 'yes'):
if self._test.endswith('.t'):
- rename(self._errpath, self._testpath)
+ rename(self._errpath, self._path)
else:
- rename(self._errpath, '%s.out' % self._testpath)
+ rename(self._errpath, '%s.out' % self._path)
return '.', self._test, ''