kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

Bug of relative/absolute paths resolving #634

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd tmp
And then do touch or mkdir as below
2. touch f1
3. touch /f2

What is the expected output? What do you see instead?
If I do "ls" the expected output should be:

0@embox:/tmp#ls
f1

but I see
0@embox:/tmp#ls
f1
f2

Original issue reported on code.google.com by alexkalmuk@gmail.com on 8 Aug 2013 at 3:18

GoogleCodeExporter commented 9 years ago
At r14991:

case 1 -

root@embox:/#cd tmp
0@embox:/tmp#touch f1
touch: Command returned with code -2: No such entity
0@embox:/tmp#touch /f2
0@embox:/tmp#ls
 f2

case 2 -

root@embox:/#cd tmp
0@embox:/tmp#mkdir f1
0@embox:/tmp#mkdir /f2
0@embox:/tmp#ls
 f1
 f2

Original comment by sikmir on 29 Nov 2014 at 10:24

GoogleCodeExporter commented 9 years ago
Fixed in r15027

Original comment by deryugin...@gmail.com on 11 Dec 2014 at 3:14