diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-12 06:23:21 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-12 08:34:59 -0600 |
commit | a780f6fe756b1a1051d5197d81366f21c42a316b (patch) | |
tree | 3047d310b60032a6861776eb37175551db59c0ca /lib9p/tests/testclient-sess.explog | |
parent | a10dbdf20ff0f3ceffc0eb3ff478504ccb475752 (diff) |
lib9p: test_server: Hard-code path numbers
To avoid noise in patches when adding or removing API endpoints
Diffstat (limited to 'lib9p/tests/testclient-sess.explog')
-rw-r--r-- | lib9p/tests/testclient-sess.explog | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib9p/tests/testclient-sess.explog b/lib9p/tests/testclient-sess.explog index e086341..b1f3085 100644 --- a/lib9p/tests/testclient-sess.explog +++ b/lib9p/tests/testclient-sess.explog @@ -19,13 +19,13 @@ > Tversion { tag=0 max_msg_size=8192 version="9P2000" } < Rversion { tag=0 max_msg_size=4120 version="9P2000" } > Tattach { tag=0 fid=0 afid=NOFID uname="nobody" aname="" n_uid=0 } -< Rattach { tag=0 qid={ type=(DIR) vers=1 path=7 } } +< Rattach { tag=0 qid={ type=(DIR) vers=1 path=1 } } # flush, but original response comes back first > Twalk { tag=0 fid=0 newfid=1 nwname=1 wname=["slowread" ] } -< Rwalk { tag=0 nwqid=1 wqid=[{ type=(0) vers=1 path=5 } ] } +< Rwalk { tag=0 nwqid=1 wqid=[{ type=(0) vers=1 path=6 } ] } > Topen { tag=0 fid=1 mode=(MODE_READ) } -< Ropen { tag=0 qid={ type=(0) vers=1 path=5 } iounit=0 } +< Ropen { tag=0 qid={ type=(0) vers=1 path=6 } iounit=0 } > Tread { tag=1 fid=1 offset=0 count=6 } > Tflush { tag=2 oldtag=1 } < Rread { tag=1 count=6 data="Sloth\n" } @@ -33,9 +33,9 @@ # flush, succeeds > Twalk { tag=1 fid=0 newfid=2 nwname=1 wname=["slowread-flushable" ] } -< Rwalk { tag=1 nwqid=1 wqid=[{ type=(0) vers=1 path=6 } ] } +< Rwalk { tag=1 nwqid=1 wqid=[{ type=(0) vers=1 path=7 } ] } > Topen { tag=0 fid=2 mode=(MODE_READ) } -< Ropen { tag=0 qid={ type=(0) vers=1 path=6 } iounit=0 } +< Ropen { tag=0 qid={ type=(0) vers=1 path=7 } iounit=0 } > Tread { tag=1 fid=2 offset=0 count=6 } > Tflush { tag=2 oldtag=1 } < Rflush { tag=2 } @@ -49,10 +49,10 @@ > Tversion { tag=0 max_msg_size=8192 version="9P2000" } < Rversion { tag=0 max_msg_size=4120 version="9P2000" } > Tattach { tag=0 fid=0 afid=NOFID uname="nobody" aname="" n_uid=0 } -< Rattach { tag=0 qid={ type=(DIR) vers=1 path=7 } } +< Rattach { tag=0 qid={ type=(DIR) vers=1 path=1 } } > Twalk { tag=0 fid=0 newfid=0 nwname=1 wname=["shutdown" ] } -< Rwalk { tag=0 nwqid=1 wqid=[{ type=(0) vers=1 path=4 } ] } +< Rwalk { tag=0 nwqid=1 wqid=[{ type=(0) vers=1 path=5 } ] } > Topen { tag=0 fid=0 mode=(MODE_WRITE) } -< Ropen { tag=0 qid={ type=(0) vers=1 path=4 } iounit=0 } +< Ropen { tag=0 qid={ type=(0) vers=1 path=5 } iounit=0 } > Twrite { tag=0 fid=0 offset=0 count=2 data="1\n" } < Rwrite { tag=0 count=2 } |