Skip to content

Commit

Permalink
fixup! [LibOS,PAL] Emulate file-backed mmap via PAL read/write APIs
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
  • Loading branch information
Dmitrii Kuvaiskii committed Mar 15, 2024
1 parent 9cc0364 commit 739b2e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libos/test/regression/test_libos.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

from graminelibos.regression import (
HAS_AVX,
HAS_EDMM,
HAS_SGX,
IS_VM,
ON_X86,
Expand Down Expand Up @@ -787,9 +788,8 @@ def test_050_mmap(self):

# "test 5" and "test 8" are checked below, in test_051_mmap_sgx

@unittest.skipIf(HAS_SGX,
'On SGX, SIGBUS isn\'t always implemented correctly, for lack '
'of memory protection. For now, some of these cases won\'t work.')
@unittest.skipIf(HAS_SGX and not HAS_EDMM,
'On SGX without EDMM, SIGBUS cannot be triggered for lack of dynamic memory protection.')
def test_051_mmap_sgx(self):
stdout, _ = self.run_binary(['mmap_file'], timeout=60)

Expand Down

0 comments on commit 739b2e1

Please sign in to comment.