Make d8-os test less flaky.
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Aug 2011 13:34:46 +0000 (13:34 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Aug 2011 13:34:46 +0000 (13:34 +0000)
commitcaf493afb30aa797afd50ffe9cfb2cb7406625fb
tree9dbf76863272fec1f8108bd90257715e6b85119c
parente9bc76c49915fb3829f7350f6985192c09f32f5d
Make d8-os test less flaky.

Because of stress testing there may be parallel instances of the test
running, which makes it fail when using a hardcoded test dir
name. Adding a random suffix helps. It'd be nicer to add something
like pid, but there doesn't seem to be an easy way of getting it.

R=yangguo@chromium.org

Review URL: http://codereview.chromium.org/7491057

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8848 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
test/mjsunit/d8-os.js