def test_poll(self):
    self.add_pre_run("\n      var dummy_device = FS.makedev(64, 0);\n      FS.registerDevice(dummy_device, {});\n\n      FS.createDataFile('/', 'file', 'abcdef', true, true, false);\n      FS.mkdev('/device', dummy_device);\n    ")
    self.do_run_in_out_file_test('tests', 'core', 'test_poll')
def test_poll(self):
    self.add_pre_run("\n      var dummy_device = FS.makedev(64, 0);\n      FS.registerDevice(dummy_device, {});\n\n      FS.createDataFile('/', 'file', 'abcdef', true, true, false);\n      FS.mkdev('/device', dummy_device);\n    ")
    self.do_run_in_out_file_test('tests', 'core', 'test_poll')