aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/userprog/open-twice.ck
blob: 64fa805b277434a2b7a48c5d6ffa73dad64f812d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- perl -*-
use strict;
use warnings;
use tests::tests;
check_expected ([<<'EOF']);
(open-twice) begin
(open-twice) open "sample.txt" once
(open-twice) open "sample.txt" again
(open-twice) end
open-twice: exit(0)
EOF
pass;