Add more tests for system calls to deal with bad buffers given to read and write

This commit is contained in:
sBubshait
2024-11-13 16:21:12 +00:00
parent 8bcd0a467c
commit 30e49846b5
12 changed files with 103 additions and 27 deletions

View File

@@ -0,0 +1,10 @@
# -*- perl -*-
use strict;
use warnings;
use tests::tests;
check_expected (IGNORE_KERNEL_FAULTS => 1, [<<'EOF']);
(read-bad-buf) begin
(read-bad-buf) open "sample.txt"
read-bad-buf: exit(-1)
EOF
pass;