does this work when running test using ```rake osc:build```?

I had to use something like:
~~~
Dir.glob("../../library/*/src").each do |dir|
  ENV["Y2DIR"] = File.expand_path(dir, __FILE__)
end
```
for my last test in yast2 (it has different source tree)