1 |
2 |
@type trace |
3 |
|
4 |
5 |
6 |
7 |
|
8 |
9 |
|
10 |
open_close "/f1.txt" [O_RDONLY;O_CREAT] 0o666 |
11 |
Tau |
12 |
RV_none |
13 |
stat "/f1.txt" |
14 |
Tau |
15 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284258; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 1; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
16 |
|
17 |
18 |
|
19 |
link "/f1.txt" "/f2_hl.txt" |
20 |
Tau |
21 |
RV_none |
22 |
stat "/f1.txt" |
23 |
Tau |
24 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284258; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 2; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
25 |
stat "/f2_hl.txt" |
26 |
Tau |
27 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284262; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 2; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
28 |
|
29 |
30 |
|
31 |
link "/f2_hl.txt" "/f2_hl1.txt" |
32 |
Tau |
33 |
RV_none |
34 |
stat "/f1.txt" |
35 |
Tau |
36 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284258; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 2; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
|
THE SPEC ASSERTS THE STATE SET IS EMPTY |
The spec permitted:
RV_stat {
st_dev | = | 2049; |
st_ino | = |
1; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 3; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
}
|
expected st_nlink 3 but got st_nlink 2 |
|
37 |
stat "/f2_hl.txt" |
38 |
Tau |
39 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284262; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 3; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
40 |
stat "/f2_hl1.txt" |
41 |
Tau |
42 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284265; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 3; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
43 |
|
44 |
link "/f2_hl1.txt" "/f2_hl2.txt" |
45 |
Tau |
46 |
RV_none |
47 |
stat "/f1.txt" |
48 |
Tau |
49 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284258; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 2; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
|
THE SPEC ASSERTS THE STATE SET IS EMPTY |
The spec permitted:
RV_stat {
st_dev | = | 2049; |
st_ino | = |
1; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 4; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
}
|
expected st_nlink 4 but got st_nlink 2 |
|
50 |
stat "/f2_hl.txt" |
51 |
Tau |
52 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284262; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 3; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
|
THE SPEC ASSERTS THE STATE SET IS EMPTY |
The spec permitted:
RV_stat {
st_dev | = | 2049; |
st_ino | = |
1; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 4; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
}
|
expected st_nlink 4 but got st_nlink 3 |
|
53 |
stat "/f2_hl1.txt" |
54 |
Tau |
55 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284265; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 4; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
56 |
stat "/f2_hl2.txt" |
57 |
Tau |
58 |
RV_stat {
st_dev | = | 42; |
st_ino | = |
284270; |
st_kind | = |
S_IFREG; |
st_perm | = |
0o644; |
st_nlink | = | 4; |
st_uid | = |
0; |
st_gid | = |
0; |
st_rdev | = | 0; |
st_size | = |
0; |
} |
59 |
|
60 |
61 |
62 |
|
63 |
64 |
65 |
66 |
67 |
|
68 |
|