1 ce3d3a8f 2021-08-12 op include "lib.9ps"
3 ce3d3a8f 2021-08-12 op testing "if version works" dir "./root" {
4 ce3d3a8f 2021-08-12 op send(Tversion, notag, msize, np2000)
6 ce3d3a8f 2021-08-12 op assert m.type == Rversion
9 ce3d3a8f 2021-08-12 op testing "fails when sending a R-message" dir "./root" {
10 ce3d3a8f 2021-08-12 op send(Rversion, notag, msize, np2000)
11 ce3d3a8f 2021-08-12 op should-fail recv() : "the connection should have been closed"
14 a47c234b 2021-12-14 op testing "multiple attach" dir "./root" {
15 a47c234b 2021-12-14 op version(msize, np2000)
19 a47c234b 2021-12-14 op m.type == Rversion
20 a47c234b 2021-12-14 op m.tag == notag
21 a47c234b 2021-12-14 op m.msize == msize
27 a47c234b 2021-12-14 op # attach the first fid
28 a47c234b 2021-12-14 op attach(fid1, nofid, "op", "/")
31 a47c234b 2021-12-14 op m.type == Rattach
32 a47c234b 2021-12-14 op m.qid.type == QTDIR
35 a47c234b 2021-12-14 op # attach the second fid
36 a47c234b 2021-12-14 op attach(fid2, nofid, "op", "/")
39 a47c234b 2021-12-14 op m.type == Rattach
40 a47c234b 2021-12-14 op m.qid.type == QTDIR