Correct /test-data mount point

This commit is contained in:
Frank Denis 2014-11-22 14:33:58 -08:00
parent 5aeebd880e
commit 77caa2b4d5

View File

@ -29,7 +29,7 @@ Module['preRun'].push(function(){
} }
FS.init(); FS.init();
FS.mkdir('/test-data'); FS.mkdir('/test-data');
FS.mount(NODEFS, { root: '.' }, '/test'); FS.mount(NODEFS, { root: '.' }, '/test-data');
FS.analyzePath('/dev/random').exists && FS.unlink('/dev/random'); FS.analyzePath('/dev/random').exists && FS.unlink('/dev/random');
FS.analyzePath('/dev/urandom') && FS.unlink('/dev/urandom'); FS.analyzePath('/dev/urandom') && FS.unlink('/dev/urandom');
var devFolder = FS.findObject('/dev') || var devFolder = FS.findObject('/dev') ||