Fix d8-os unit test to be skipped for isolates.
This test sets the umask on a per-process basis and hence cannot be used in multi-threaded runs. R=yangguo@chromium.org TEST=mjsunit/d8-os Review URL: https://chromiumcodereview.appspot.com/9372018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10655 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
831ada2f0d
commit
19a62a22fc
@ -96,7 +96,9 @@ if (this.os && os.system) {
|
||||
assertThrows("os.chdir(TEST_DIR + '/dir4');", "chdir dir4 I");
|
||||
os.rmdir(TEST_DIR + "/dir4");
|
||||
assertThrows("os.chdir(TEST_DIR + '/dir4');", "chdir dir4 II");
|
||||
// Set umask.
|
||||
|
||||
// Set umask. This changes the umask for the whole process and is
|
||||
// the reason why the test cannot be run multi-threaded.
|
||||
var old_umask = os.umask(0777);
|
||||
// Create a dir we cannot read.
|
||||
os.mkdirp(TEST_DIR + "/dir5");
|
||||
|
@ -65,6 +65,13 @@ regress/regress-524: (PASS || TIMEOUT), SKIP if $mode == debug
|
||||
debug-liveedit-check-stack: SKIP
|
||||
debug-liveedit-patch-positions-replace: SKIP
|
||||
|
||||
##############################################################################
|
||||
[ $isolates ]
|
||||
|
||||
# This test sets the umask on a per-process basis and hence cannot be
|
||||
# used in multi-threaded runs.
|
||||
d8-os: SKIP
|
||||
|
||||
##############################################################################
|
||||
[ $arch == arm ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user