- Builder: fixed a regression in ADD. Improved regression tests for build behavior.

Upstream-commit: 36d610a38806feb4cb5d09c4705a6f1fff42ef04
Component: engine
This commit is contained in:
Solomon Hykes
2013-06-20 20:20:16 -07:00
parent 99b7da757b
commit 7a7ea60289
5 changed files with 83 additions and 43 deletions
@@ -0,0 +1,17 @@
from busybox
add f /
run [ "$(cat /f)" = "hello" ]
add f /abc
run [ "$(cat /abc)" = "hello" ]
add f /x/y/z
run [ "$(cat /x/y/z)" = "hello" ]
add f /x/y/d/
run [ "$(cat /x/y/d/f)" = "hello" ]
add d /
run [ "$(cat /ga)" = "bu" ]
add d /somewhere
run [ "$(cat /somewhere/ga)" = "bu" ]
add d /anotherplace/
run [ "$(cat /anotherplace/ga)" = "bu" ]
add d /somewheeeere/over/the/rainbooow
run [ "$(cat /somewheeeere/over/the/rainbooow/ga)" = "bu" ]