diff options
Diffstat (limited to 'harness/cases/4.t')
-rw-r--r-- | harness/cases/4.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/harness/cases/4.t b/harness/cases/4.t index e6b6ef5..972b4f2 100644 --- a/harness/cases/4.t +++ b/harness/cases/4.t @@ -61,7 +61,11 @@ int test_main(void) status |= attempt(rwfd, KERNEL_RW_POINTER, SIZE, 0, READ, -EFAULT); status |= attempt(rwfd, KERNEL_RW_POINTER, SIZE, 0, WRITE, -EFAULT); + + /* Some architectures map the 0 page. Ugh. */ +#if !defined(__ia64__) status |= attempt(rwfd, NULL, SIZE, 0, WRITE, -EFAULT); +#endif return status; } |