• Elliott Hughes's avatar
    Ensure dalvikvm sets "user.name" to "root" for our tests. · b5695226
    Elliott Hughes authored
    dalvikvm sets "user.name" to $USER, but that environment variable isn't set
    when we run the tests. I was looking at our DatagramSocketTest failure, and
    it turns out it's another instance of "root can do stuff other users can't".
    The typical way harmony tests check whether they're running as root is to
    compare "user.name" against "root", but from run-core-tests they see "".
    b5695226
run-core-tests 1.21 KB