##// END OF EJS Templates
run-tests: ensure the script exits when it fails to change directories...
Matt Harbison -
r44434:bd3fa45c default
parent child Browse files
Show More
@@ -1839,7 +1839,7 b' class TTest(Test):'
1839 cmd = rawcmd.split()
1839 cmd = rawcmd.split()
1840 toggletrace(rawcmd)
1840 toggletrace(rawcmd)
1841 if len(cmd) == 2 and cmd[0] == b'cd':
1841 if len(cmd) == 2 and cmd[0] == b'cd':
1842 l = b' $ cd %s || exit 1\n' % cmd[1]
1842 rawcmd = b'cd %s || exit 1\n' % cmd[1]
1843 script.append(rawcmd)
1843 script.append(rawcmd)
1844 elif l.startswith(b' > '): # continuations
1844 elif l.startswith(b' > '): # continuations
1845 after.setdefault(prepos, []).append(l)
1845 after.setdefault(prepos, []).append(l)
General Comments 0
You need to be logged in to leave comments. Login now