Files
pintos_22/src/tests/userprog/sc-bad-num.ck
2024-10-01 23:37:39 +01:00

15 lines
294 B
Plaintext

# -*- perl -*-
use strict;
use warnings;
use tests::tests;
check_expected ([<<'EOF',<<'EOF']);
(sc-bad-num) begin
sc-bad-num: exit(-1)
EOF
(sc-bad-num) begin
(sc-bad-num) invalid syscall did not terminate the process, so check its return value...
(sc-bad-num) end
sc-bad-num: exit(0)
EOF
pass;