run-test: fix AttributeError in the --interactive prompt
One must choose between ``"y yes".split()`` and ``('y', 'yes')``. I choose the
later.
The feature still crash when you answer "yes" to use it. But at least, the
prompt itself works.
--- a/tests/run-tests.py Sat May 17 00:37:06 2014 -0700
+++ b/tests/run-tests.py Sat May 17 00:38:48 2014 -0700
@@ -588,7 +588,7 @@
print 'Accept this change? [n] ',
answer = sys.stdin.readline().strip()
iolock.release()
- if answer.lower() in ('y', 'yes').split():
+ if answer.lower() in ('y', 'yes'):
if self._test.endswith('.t'):
rename(self._errpath, self._testpath)
else: