Show More
@@ -659,6 +659,9 b' def tsttest(test, wd, options, replaceme' | |||||
659 | prepos = pos |
|
659 | prepos = pos | |
660 | pos = n |
|
660 | pos = n | |
661 | addsalt(n, False) |
|
661 | addsalt(n, False) | |
|
662 | cmd = l[4:].split() | |||
|
663 | if len(cmd) == 2 and cmd[0] == 'cd': | |||
|
664 | l = ' $ cd %s || exit 1\n' % cmd[1] | |||
662 | script.append(l[4:]) |
|
665 | script.append(l[4:]) | |
663 | elif l.startswith(' > '): # continuations |
|
666 | elif l.startswith(' > '): # continuations | |
664 | after.setdefault(prepos, []).append(l) |
|
667 | after.setdefault(prepos, []).append(l) |
General Comments 0
You need to be logged in to leave comments.
Login now