You need to write tests for as many cases you can think of. eg cd ., cd .., some invalid directories and so on. Im not familiar with the cmd code but this feels like a bit of a hack.
Jerome
On Thu, Aug 11, 2011 at 6:19 AM, Nowres Rafid nowres.rafed@gmail.com wrote:
Hello,
the command "cd .. " doesn't work when there is extra spaces at the end.
I propose this patch and ask for your confirmation about it.
best regards.